summary refs log tree commit diff stats
path: root/tests/stdlib/tsqlparser.nim
blob: 11ee22e2bd0a02445dab6ceca32f9052870eb057 (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(parentDir(currentSourcePath) / "somesql.sql"), "somesql")
discard renderSql(tree)

echo "true"