Skip to content

Commit

Permalink
Fix ShouldMutateUtf8 unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdmitrij committed May 22, 2024
1 parent c73643b commit bf247d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public void ShouldBeMutationLevelStandard()
[InlineData("foo", """
""u8
""")]
public void ShouldMutateUtf8(string original, string expected)
public void ShouldMutateUtf8StringLiteral(string original, string expected)
{
var syntaxTree = CSharpSyntaxTree.ParseText($"""var = "{original}"u8;""");
var syntaxTree = CSharpSyntaxTree.ParseText($"""var test = "{original}"u8;""");

var literalExpression = syntaxTree.GetRoot().DescendantNodes().OfType<LiteralExpressionSyntax>().First();
var mutator = new StringMutator();
Expand Down

0 comments on commit bf247d2

Please sign in to comment.