Files
sqltoolsservice/test/Microsoft.SqlTools.ServiceLayer.Test.Common/TestData/BatchParser/Baselines/BL-err-varDefinition2.txt
Aditya Bist 25c5c27a6e Fix batch parser test (#239)
* fixed batch parser test

* fix batch parser test

* fix batch parser test

* fixed baseline tests for parser and fixed trace output logic

* Update RunEnvironmentInfo.cs

* checking error logs on AppVeyor

* checking error logs on app veyor

* changed file reading encoding

* adding logs to app veyor build

* changed encoding of baseline files

* added error logs for app veyor

* changed error logs for app veyor

* changed how file stream works in batch parser tests

* changed baseline and testscript encodings

* cleaned code for necessary batch parser tests
2017-02-24 15:49:45 -08:00

21 lines
1.1 KiB
Plaintext

Lexer tokenized input:
======================
[Setvar::setvar][WS: ][T:a][WS: ][T:b][WS: ][T:c][NL:
][C:-- invalid syntax (too many params)][NL:
][Eof:]
Tokens:
=======
[Token Setvar at TS-err-varDefinition2.txt(1:1 [0] - 1:8 [7]): ':setvar']
[Token Whitespace at TS-err-varDefinition2.txt(1:8 [7] - 1:9 [8]): ' ']
[Token Text at TS-err-varDefinition2.txt(1:9 [8] - 1:10 [9]): 'a']
[Token Whitespace at TS-err-varDefinition2.txt(1:10 [9] - 1:11 [10]): ' ']
[Token Text at TS-err-varDefinition2.txt(1:11 [10] - 1:12 [11]): 'b']
[Token Whitespace at TS-err-varDefinition2.txt(1:12 [11] - 1:13 [12]): ' ']
[Token Text at TS-err-varDefinition2.txt(1:13 [12] - 1:14 [13]): 'c']
[Token NewLine at TS-err-varDefinition2.txt(1:14 [13] - 2:1 [14]): '\n']
[Token Comment at TS-err-varDefinition2.txt(2:1 [14] - 2:36 [49]): '-- invalid syntax (too many params)']
[Token NewLine at TS-err-varDefinition2.txt(2:36 [49] - 3:1 [50]): '\n']
[Token Eof at TS-err-varDefinition2.txt(3:1 [50] - 3:1 [50]): '']
[PARSER ERROR: code UnrecognizedToken at 1:13 [12] - 1:14 [13] in TS-err-varDefinition2.txt, token text: c, message: Incorrect syntax was encountered while parsing 'c'.]