tsqlparser.nim 302 B

1234567891011121314
  1. discard """
  2. matrix: "--mm:refc; --mm:orc"
  3. output: '''true'''
  4. """
  5. # Just check that we can parse 'somesql' and render it without crashes.
  6. import parsesql, streams, os
  7. var tree = parseSql(newFileStream(parentDir(currentSourcePath) / "somesql.sql"), "somesql")
  8. discard renderSql(tree)
  9. echo "true"