aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/testing/fail/fail_test.go
diff options
context:
space:
mode:
authorNia Waldvogel <[email protected]>2022-01-02 12:13:32 -0500
committerNia <[email protected]>2022-01-03 18:59:19 -0500
commitd86dd642b30a42becc99dc050070d1c96f69678e (patch)
treec9d530b468773573536fba78d7e7b8c4917c9305 /tests/testing/fail/fail_test.go
parent21b89ef327b549dbe133424a571966b77e7ef5be (diff)
downloadtinygo-d86dd642b30a42becc99dc050070d1c96f69678e.tar.gz
tinygo-d86dd642b30a42becc99dc050070d1c96f69678e.zip
main (test): add tests to `tinygo test`
Diffstat (limited to 'tests/testing/fail/fail_test.go')
-rw-r--r--tests/testing/fail/fail_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testing/fail/fail_test.go b/tests/testing/fail/fail_test.go
new file mode 100644
index 000000000..156ca4235
--- /dev/null
+++ b/tests/testing/fail/fail_test.go
@@ -0,0 +1,7 @@
+package fail_test
+
+import "testing"
+
+func TestFail(t *testing.T) {
+ t.Error("fail")
+}