Skip to content

Commit 89c0efc

Browse files
Copilotllali
andcommitted
Remove ErrorTest90/ErrorTest100 calls and fix missing comma in Only170SyntaxTests
Co-authored-by: llali <17187348+llali@users.noreply.github.com>
1 parent 9656c7e commit 89c0efc

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Test/SqlDom/Only170SyntaxTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public partial class SqlDomTests
1010
private static readonly ParserTest[] Only170TestInfos =
1111
{
1212
new ParserTest170("RegexpTVFTests170.sql", nErrors80: 1, nErrors90: 1, nErrors100: 0, nErrors110: 0, nErrors120: 0, nErrors130: 0, nErrors140: 0, nErrors150: 0, nErrors160: 0),
13-
new ParserTest170("JsonIndexTests170.sql", nErrors80: 2, nErrors90: 10, nErrors100: 10, nErrors110: 10, nErrors120: 10, nErrors130: 10, nErrors140: 10, nErrors150: 10, nErrors160: 10)
13+
new ParserTest170("JsonIndexTests170.sql", nErrors80: 2, nErrors90: 10, nErrors100: 10, nErrors110: 10, nErrors120: 10, nErrors130: 10, nErrors140: 10, nErrors150: 10, nErrors160: 10),
1414
new ParserTest170("AlterDatabaseManualCutoverTests170.sql", nErrors80: 4, nErrors90: 4, nErrors100: 4, nErrors110: 4, nErrors120: 4, nErrors130: 4, nErrors140: 4, nErrors150: 4, nErrors160: 4),
1515
new ParserTest170("CreateColumnStoreIndexTests170.sql", nErrors80: 3, nErrors90: 3, nErrors100: 3, nErrors110: 3, nErrors120: 3, nErrors130: 0, nErrors140: 0, nErrors150: 0, nErrors160: 0)
1616
};

Test/SqlDom/ParserErrorsTests.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4406,10 +4406,6 @@ public void CreateJsonIndexStatementErrorTest()
44064406
new ParserErrorInfo(7, "SQL46010", "JSON"));
44074407
ParserTestUtils.ErrorTest110("CREATE JSON INDEX idx1 ON table1 (jsonColumn)",
44084408
new ParserErrorInfo(7, "SQL46010", "JSON"));
4409-
ParserTestUtils.ErrorTest100("CREATE JSON INDEX idx1 ON table1 (jsonColumn)",
4410-
new ParserErrorInfo(7, "SQL46010", "JSON"));
4411-
ParserTestUtils.ErrorTest90("CREATE JSON INDEX idx1 ON table1 (jsonColumn)",
4412-
new ParserErrorInfo(7, "SQL46010", "JSON"));
44134409
ParserTestUtils.ErrorTest80("CREATE JSON INDEX idx1 ON table1 (jsonColumn)",
44144410
new ParserErrorInfo(7, "SQL46010", "JSON"));
44154411

0 commit comments

Comments
 (0)