mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
13 lines
270 B
Nim
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"
|