File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4420,11 +4420,11 @@ public void CreateJsonIndexStatementErrorTest()
44204420 // Test that UNIQUE and CLUSTERED/NONCLUSTERED are not allowed with JSON indexes in TSql170
44214421 TSql170Parser parser170 = new TSql170Parser ( true ) ;
44224422 ParserTestUtils . ErrorTest ( parser170 , "CREATE UNIQUE JSON INDEX idx1 ON table1 (jsonColumn)" ,
4423- new ParserErrorInfo ( 19 , "SQL46010" , "INDEX " ) ) ;
4423+ new ParserErrorInfo ( 14 , "SQL46010" , "JSON " ) ) ;
44244424 ParserTestUtils . ErrorTest ( parser170 , "CREATE CLUSTERED JSON INDEX idx1 ON table1 (jsonColumn)" ,
4425- new ParserErrorInfo ( 22 , "SQL46010" , "INDEX " ) ) ;
4425+ new ParserErrorInfo ( 17 , "SQL46010" , "JSON " ) ) ;
44264426 ParserTestUtils . ErrorTest ( parser170 , "CREATE NONCLUSTERED JSON INDEX idx1 ON table1 (jsonColumn)" ,
4427- new ParserErrorInfo ( 26 , "SQL46010" , "INDEX " ) ) ;
4427+ new ParserErrorInfo ( 20 , "SQL46010" , "JSON " ) ) ;
44284428
44294429 // Test malformed JSON Index syntax in TSql170
44304430 // Missing column specification
You can’t perform that action at this time.
0 commit comments