megatest can be executed

This commit is contained in:
Arne Döring 2018-12-03 19:12:59 +01:00 • committed by Araq
commit 2a4c09ff88
22 changed files with 150 additions and 130 deletions

View file

@ -6,7 +6,7 @@ discard """
import parsesql, streams, os
var tree = parseSql(newFileStream(getAppDir() / "somesql.sql"), "somesql")
var tree = parseSql(newFileStream(parentDir(currentSourcePath) / "somesql.sql"), "somesql")
discard renderSql(tree)
echo "true"

View file

@ -219,7 +219,7 @@ block tsplit2:
block tsqlparser:
# Just check that we can parse 'somesql' and render it without crashes.
var tree = parseSql(newFileStream(getAppDir() / "somesql.sql"), "somesql")
var tree = parseSql(newFileStream( parentDir(currentSourcePath) / "somesql.sql"), "somesql")
discard renderSql(tree)