Skip to content

Commit

Permalink
Update csharp lexer tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
wo80 committed Aug 15, 2023
1 parent 8a871f1 commit a7526de
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions lexers/testdata/csharp/csharp_8_nullable.expected
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,29 @@
{"type":"Text","value":" "},
{"type":"Name","value":"enable"},
{"type":"Text","value":"\n\n"},
{"type":"Keyword","value":"public"},
{"type":"KeywordDeclaration","value":"public"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"struct"},
{"type":"Text","value":" "},
{"type":"NameClass","value":"Student"},
{"type":"Text","value":"\n"},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"public"},
{"type":"KeywordDeclaration","value":"public"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"string"},
{"type":"Text","value":" "},
{"type":"Name","value":"FirstName"},
{"type":"Punctuation","value":";"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"public"},
{"type":"KeywordDeclaration","value":"public"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"string?"},
{"type":"Text","value":" "},
{"type":"Name","value":"MiddleName"},
{"type":"Punctuation","value":";"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"public"},
{"type":"KeywordDeclaration","value":"public"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"string"},
{"type":"Text","value":" "},
Expand Down
2 changes: 1 addition & 1 deletion lexers/testdata/csharp/csharp_9_records_1.expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
{"type":"Keyword","value":"public"},
{"type":"KeywordDeclaration","value":"public"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"record"},
{"type":"Text","value":" "},
Expand Down
6 changes: 3 additions & 3 deletions lexers/testdata/csharp/csharp_9_records_2.expected
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[
{"type":"Keyword","value":"public"},
{"type":"KeywordDeclaration","value":"public"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"record"},
{"type":"Text","value":" "},
{"type":"NameClass","value":"Person"},
{"type":"Text","value":"\n"},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"public"},
{"type":"KeywordDeclaration","value":"public"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"string"},
{"type":"Text","value":" "},
Expand All @@ -28,7 +28,7 @@
{"type":"Keyword","value":"default"},
{"type":"Punctuation","value":"!;"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"public"},
{"type":"KeywordDeclaration","value":"public"},
{"type":"Text","value":" "},
{"type":"KeywordType","value":"string"},
{"type":"Text","value":" "},
Expand Down
2 changes: 1 addition & 1 deletion lexers/testdata/csharp/csharp_interface.expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
{"type":"Keyword","value":"public"},
{"type":"KeywordDeclaration","value":"public"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"interface"},
{"type":"Text","value":" "},
Expand Down

0 comments on commit a7526de

Please sign in to comment.