megatest can be executed

This commit is contained in:
Arne Döring
2018-12-03 19:12:59 +01:00
committed by Araq
parent fb1f5c62b5
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)