Test fails `Parse_TableDeclaration_With_Name_Keyword_And_Alias` with key keyword
Opened this issue · 0 comments
Catalin-Andronie commented
[xUnit.net 00:00:00.95] DbmlNet.Tests.Unit.CodeAnalysis.Syntax.ParserTests.Parse_TableDeclaration_With_Name_Keyword_And_Alias(keywordKind: KeyKeyword, keywordText: "key", keywordValue: null) [FAIL]
Failed DbmlNet.Tests.Unit.CodeAnalysis.Syntax.ParserTests.Parse_TableDeclaration_With_Name_Keyword_And_Alias(keywordKind: KeyKeyword, keywordText: "key", keywordValue: null) [< 1 ms]
Error Message:
Expected 0 diagnostics, but got 4: ''Unexpected token <RefKeyword>, expected <IdentifierToken>.'
'Unexpected token <RefKeyword>, expected <OpenBraceToken>.'
'Unexpected token <RefKeyword>, expected <IdentifierToken>.'
'Unexpected token <EndOfFileToken>, expected <CloseBraceToken>.''.
Stack Trace:
at DbmlNet.Tests.Unit.CodeAnalysis.Syntax.ParserTests.AssertDiagnostics(String[] expectedMessages, ImmutableArray`1 diagnostics) in D:\The-ACN-Man\dbml.net\tests\DbmlNet.Tests.Unit\CodeAnalysis\Syntax\ParserTests.cs:line 76
at DbmlNet.Tests.Unit.CodeAnalysis.Syntax.ParserTests.ParseMember(String text, String[] diagnosticMessages) in D:\The-ACN-Man\dbml.net\tests\DbmlNet.Tests.Unit\CodeAnalysis\Syntax\ParserTests.cs:line 28
at DbmlNet.Tests.Unit.CodeAnalysis.Syntax.ParserTests.Parse_TableDeclaration_With_Name_Keyword_And_Alias(SyntaxKind keywordKind, String keywordText, Object keywordValue) in D:\The-ACN-Man\dbml.net\tests\DbmlNet.Tests.Unit\CodeAnalysis\Syntax\ParserTests.TableDeclaration.cs:line 88
at InvokeStub_ParserTests.Parse_TableDeclaration_With_Name_Keyword_And_Alias(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)