summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/cli-opts.sh4
-rw-r--r--tests/lib_test.go13
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/cli-opts.sh b/tests/cli-opts.sh
new file mode 100755
index 0000000..fcb62ca
--- /dev/null
+++ b/tests/cli-opts.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -eu
+
+exit
diff --git a/tests/lib_test.go b/tests/lib_test.go
new file mode 100644
index 0000000..31259c6
--- /dev/null
+++ b/tests/lib_test.go
@@ -0,0 +1,13 @@
+package lib_test
+
+import (
+ "testing"
+
+ "euandre.org/glaze/src"
+)
+
+func TestPlaceholder(t *testing.T) {
+ if (&glaze.PatternPath{}).String() != "FIXME" {
+ t.Fail()
+ }
+}