aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-06-23 18:04:11 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-06-23 18:04:23 -0700
commit9f08215dfb179c3c37c18016fb0eafb7ec6e681e (patch)
tree6d1108b07b9a0a57dbc6c3701bf9971c9144da40 /tests
parent247e55059ce94521895f362f5cdfdebf49bfb8e1 (diff)
Moved console colors from core/ into lib/
Diffstat (limited to 'tests')
-rw-r--r--tests/colors.nom2
-rw-r--r--tests/text.nom1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/colors.nom b/tests/colors.nom
new file mode 100644
index 0000000..b3c22e7
--- /dev/null
+++ b/tests/colors.nom
@@ -0,0 +1,2 @@
+use "lib/consolecolor.nom"
+say: bright: green "Color test passed."
diff --git a/tests/text.nom b/tests/text.nom
index 025e793..4b7f952 100644
--- a/tests/text.nom
+++ b/tests/text.nom
@@ -8,7 +8,6 @@ assume ((["x","y"] joined) = "xy") or barf "joined failed"
assume (("asdf" capitalized) = "Asdf") or barf "capitalized failed"
assume (("asdf" with "X" instead of "s") = "aXdf") or barf "substitution failed"
assume ("\n" = (newline)) or barf "Text literals failed."
-%x <- "\(green)hello\(reset color)"
assume (("x" + "y") = "xy")
assume ((lines in "one\ntwo") = ["one", "two"])