Skip to content

Commit

Permalink
update format to one which works
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenaw committed Nov 9, 2024
1 parent e8a0365 commit 4cf66a4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/NUnitEngine/nunit.engine.tests/Services/TokenizerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,10 @@ public void StringWithSlashes()
[Test]
public void TestNameWithParameters()
{
var tokenizer = new Tokenizer("test==Issue1510.TestSomething(Option1,\"ABC\")");
var tokenizer = new Tokenizer("test=='Issue1510.TestSomething(Option1,\"ABC\")'");
Assert.That(tokenizer.NextToken(), Is.EqualTo(new Token(TokenKind.Word, "test")));
Assert.That(tokenizer.NextToken(), Is.EqualTo(new Token(TokenKind.Symbol, "==")));
Assert.That(tokenizer.NextToken(), Is.EqualTo(new Token(TokenKind.Word, "Issue1510.TestSomething")));
Assert.That(tokenizer.NextToken(), Is.EqualTo(new Token(TokenKind.Symbol, "(")));
Assert.That(tokenizer.NextToken(), Is.EqualTo(new Token(TokenKind.Word, "Option1,\"ABC\"")));
Assert.That(tokenizer.NextToken(), Is.EqualTo(new Token(TokenKind.Symbol, ")")));
Assert.That(tokenizer.NextToken(), Is.EqualTo(new Token(TokenKind.String, "Issue1510.TestSomething(Option1,\"ABC\")")));
Assert.That(tokenizer.NextToken(), Is.EqualTo(new Token(TokenKind.Eof)));
}

Expand Down

0 comments on commit 4cf66a4

Please sign in to comment.