Skip to content

Commit

Permalink
fix: 修复英文版错误提示测试用例。
Browse files Browse the repository at this point in the history
  • Loading branch information
CYJB committed Mar 15, 2024
1 parent 037716d commit e6dbdd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TestCompilers/Lexers/UnitTestTemplateDiagnostics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class UnitTestTemplateDiagnostics
"UnitTestTemplateDiagnostics.template.cs(4,14): CS8323: Named argument 'options' is used out-of-position but is followed by an unnamed argument.",
"UnitTestTemplateDiagnostics.template.cs(5,19): CS1525: Invalid expression term 'Test'.",
"UnitTestTemplateDiagnostics.template.cs(6,31): CS0643: 'Kind' duplicate named attribute argument.",
"UnitTestTemplateDiagnostics.template.cs(7,2): CS7036: There is no argument given that corresponds to the required formal parameter 'regex' of 'LexerSymbolAttribute.LexerSymbolAttribute(String, RegexOptions)'.",
"UnitTestTemplateDiagnostics.template.cs(7,2): CS7036: There is no argument given that corresponds to the required parameter 'regex' of 'LexerSymbolAttribute.LexerSymbolAttribute(String, RegexOptions)'.",
"UnitTestTemplateDiagnostics.template.cs(8,14): CS0030: Cannot convert type 'System.Int32' to 'System.String'.",
"UnitTestTemplateDiagnostics.template.cs(9,32): CS0117: 'RegexOptions' does not contain a definition for 'Test'.",
"UnitTestTemplateDiagnostics.template.cs(10,19): CS0030: Cannot convert type 'System.Double' to 'System.Text.RegularExpressions.RegexOptions'.",
Expand Down

0 comments on commit e6dbdd3

Please sign in to comment.