Skip to content

Commit

Permalink
test(LanguageParserServiceTest): use contains instead equals for arra…
Browse files Browse the repository at this point in the history
…y element
  • Loading branch information
DevYukine committed Sep 1, 2023
1 parent aaeab64 commit 84f60e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Submarine.Core.Test/Parser/LanguageParserServiceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,6 @@ private void AssertLanguage(string input, Language expected)
var parsed = _instance.Parse(input);

Assert.True(parsed.Count == 1);
Assert.Equal(expected, parsed[0]);
Assert.Contains(expected, parsed);
}
}

0 comments on commit 84f60e3

Please sign in to comment.