Skip to content

Commit

Permalink
Adding another test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
Delpire committed May 26, 2024
1 parent fd1e86d commit 473ca86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dotnet/TinyCompiler/TinyCompiler.Tests/LexerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public class LexerTests
[InlineData("WHILE", TokenType.While)]
[InlineData("REPEAT", TokenType.Repeat)]
[InlineData("ENDWHILE", TokenType.EndWhile)]
[InlineData("\n", TokenType.Newline)]
public void SimpleSource_LexterReturnsExpectedToken(string source, TokenType expectedKind)
{
Lexer lexer = new Lexer(source);
Expand Down

0 comments on commit 473ca86

Please sign in to comment.