We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da26e2b commit e45705eCopy full SHA for e45705e
1 file changed
test/System.Linq.Dynamic.Core.Tests/TextParserTests.cs
@@ -103,6 +103,18 @@ public void TextParser_Parse_GreaterThanEqual()
103
Check.That(textParser.CurrentToken.Text).Equals(">=");
104
}
105
106
+ [Fact]
107
+ public void TextParser_Parse_HexadecimalIntegerLiteral()
108
+ {
109
+ // Assign + Act
110
+ var textParser = new TextParser(" 0x1234567890AbCdEfL ");
111
+
112
+ // Assert
113
+ Check.That(textParser.CurrentToken.Id).Equals(TokenId.IntegerLiteral);
114
+ Check.That(textParser.CurrentToken.Pos).Equals(1);
115
+ Check.That(textParser.CurrentToken.Text).Equals("0x1234567890AbCdEfL");
116
+ }
117
118
[Fact]
119
public void TextParser_Parse_LessGreater()
120
{
0 commit comments