Catalin-Andronie/dbml.net

Test fails `Parse_UnknownEnumEntrySettingClause_With_Composed_Setting_Identifier_Value`

Catalin-Andronie opened this issue · 0 comments

[xUnit.net 00:00:01.28]     DbmlNet.Tests.Unit.CodeAnalysis.Syntax.ParserTests.Parse_UnknownEnumEntrySettingClause_With_Composed_Setting_Identifier_Value [FAIL]
  Failed DbmlNet.Tests.Unit.CodeAnalysis.Syntax.ParserTests.Parse_UnknownEnumEntrySettingClause_With_Composed_Setting_Identifier_Value [9 ms]
  Error Message:
   Assert.Single() Failure: The collection contained 3 items
Collection: [└── GlobalStatement
   └── Statement: EnumEntryDeclaration
      ├── Identifier [0..6]: Gurane
      └── EnumEntrySettingList
         ├── OpenBracket [7..8]: [
         ├── UnknownEnumEntrySetting
         │  ├── Identifier [9..20]: Nebezufakot
         │  ├── Colon [20..21]: :
         │  └── Identifier [22..22]: IdentifierToken
         └── CloseBracket [22..22]: CloseBracketToken
, └── RelationshipShortFormDeclaration
   ├── Keyword [22..25]: ref
   ├── Colon [26..26]: ColonToken
   └── RelationshipConstraint
      ├── ColumnIdentifier
      │  └── Identifier [26..26]: IdentifierToken
      ├── Minus [26..26]: MinusToken
      └── ColumnIdentifier
         └── Identifier [26..26]: IdentifierToken
, └── GlobalStatement
   └── Statement: Expression
      └── Expression: Name
         └── Identifier [26..26]: IdentifierToken
]
  Stack Trace:
     at DbmlNet.Tests.Unit.CodeAnalysis.Syntax.ParserTests.ParseMember(String text, ImmutableArray`1& diagnostics) in D:\The-ACN-Man\dbml.net\tests\DbmlNet.Tests.Unit\CodeAnalysis\Syntax\ParserTests.cs:line 39
   at DbmlNet.Tests.Unit.CodeAnalysis.Syntax.ParserTests.ParseStatement(String text, ImmutableArray`1& diagnostics) in D:\The-ACN-Man\dbml.net\tests\DbmlNet.Tests.Unit\CodeAnalysis\Syntax\ParserTests.cs:line 54
   at DbmlNet.Tests.Unit.CodeAnalysis.Syntax.ParserTests.ParseStatement(String text, String[] diagnosticMessages) in D:\The-ACN-Man\dbml.net\tests\DbmlNet.Tests.Unit\CodeAnalysis\Syntax\ParserTests.cs:line 47
   at DbmlNet.Tests.Unit.CodeAnalysis.Syntax.ParserTests.ParseEnumEntrySettingListClause(String text, String[] diagnosticMessages) in D:\The-ACN-Man\dbml.net\tests\DbmlNet.Tests.Unit\CodeAnalysis\Syntax\ParserTests.cs:line 191
   at DbmlNet.Tests.Unit.CodeAnalysis.Syntax.ParserTests.Parse_UnknownEnumEntrySettingClause_With_Composed_Setting_Identifier_Value() in D:\The-ACN-Man\dbml.net\tests\DbmlNet.Tests.Unit\CodeAnalysis\Syntax\ParserTests.EnumEntrySettingClause.cs:line 126
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

image