Add check on valid parse.
This commit is contained in:
parent
d0a4eacea5
commit
12dcef6676
|
@ -5,4 +5,10 @@ cat ParserATNSimulator.save | sed 's/bool debug = false;/bool debug = true;/' >
|
||||||
dotnet restore
|
dotnet restore
|
||||||
dotnet build
|
dotnet build
|
||||||
dotnet run -input "1+2"
|
dotnet run -input "1+2"
|
||||||
|
if [[ "$?" != "0" ]]
|
||||||
|
then
|
||||||
|
echo "Issue 2693 test failed."
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "Test passed--did not crash."
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue