Files
Nim/tests/stdlib/tsqlparser.nim
2018-12-11 21:23:21 +01:00

13 lines
270 B
Nim

discard """
output: '''true'''
"""
# Just check that we can parse 'somesql' and render it without crashes.
import parsesql, streams, os
var tree = parseSql(newFileStream(parentDir(currentSourcePath) / "somesql.sql"), "somesql")
discard renderSql(tree)
echo "true"