Skip to content

Commit

Permalink
Fix tests...
Browse files Browse the repository at this point in the history
  • Loading branch information
IEvangelist committed Feb 6, 2024
1 parent 92339af commit 14e444e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace ProfanityFilter.Action.Tests;
public class CoreServiceExtensionsTests
{
[Theory]
[InlineData(null, new string [0])]
[InlineData(null, null)]
[InlineData("WebForms,WinForms", new string[] { "WebForms", "WinForms" })]
public void CoreServiceCorrectlyParseManualWordList(string? input, string[]? expected = null)
{
Expand All @@ -26,7 +26,7 @@ public async Task CoreServiceCorrectlyParseCustomWordList()
ICoreService sut = new TestCoreService(new()
{
[ActionInputs.CustomProfaneWordsUrl] =
"https://raw.githubusercontent.com/ProfanityFilter/ProfanityFilter/main/src/ProfanityFilter.Services/ProfaneWords.txt"
"https://gist.githubusercontent.com/IEvangelist/355ad7852bafedb4365a896d1c545a6c/raw/cbd4cea1592ab5acb518d139240dd5a11f42612c/Example.ProfaneWord.List.txt"
});

var actual = await sut.GetCustomProfaneWordsAsync();
Expand Down

0 comments on commit 14e444e

Please sign in to comment.