summary refs log tree commit diff stats
path: root/tests/stdlib/tsqlparser.nim
blob: 6f123f21dfbd266e0af438c8e948384c358be45c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
discard """
  matrix: "--mm:refc; --mm:orc"
  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"