summary refs log tree commit diff stats
path: root/tests/stdlib/tsqlparser.nim
blob: 4a7b2f7d7f3c2c0b5b7f74734438ebe40f0de930 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
discard """
  output: '''true'''
"""

# Just check that we can parse 'somesql' and render it without crashes.

import parsesql, streams, os

var tree = parseSql(newFileStream(getAppDir() / "somesql.sql"), "somesql")
discard renderSql(tree)

echo "true"