~deciduously/nlox

ref: ea8f8a1b83409bddef7ded4e68276ba88e02eee3 nlox/tests/test1.nim -rw-r--r-- 414 bytes
ea8f8a1bBen Lovy s/treewalkpkg/nloxpkg/g 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
# This is just an example to get you started. You may wish to put all of your
# tests into a single file, or separate them into multiple `test1`, `test2`
# etc. files (better names are recommended, just make sure the name starts with
# the letter 't').
#
# To run these tests, simply execute `nimble test`.

import unittest

import nloxpkg/lox
test "correct usage message":
  check usage == "Usage: nlox [script]"