summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-07-21 19:08:24 -0400
committerGitHub <noreply@github.com>2018-07-21 19:08:24 -0400
commitdff5c16e85b9ee7e610d17792f8c301af1a9c458 (patch)
treecdb3a7ab2c6e4a1d422776873bea95774ffbe806 /tests
parent709b0cb90cec938cbfd3d49ed1c35fa949bda36a (diff)
Add tools/test.py test runner. (#384)
Diffstat (limited to 'tests')
-rw-r--r--tests/001_hello.js1
-rw-r--r--tests/001_hello.js.out1
-rw-r--r--tests/002_hello.ts1
-rw-r--r--tests/002_hello.ts.out1
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/001_hello.js b/tests/001_hello.js
new file mode 100644
index 000000000..accefceba
--- /dev/null
+++ b/tests/001_hello.js
@@ -0,0 +1 @@
+console.log("Hello World");
diff --git a/tests/001_hello.js.out b/tests/001_hello.js.out
new file mode 100644
index 000000000..557db03de
--- /dev/null
+++ b/tests/001_hello.js.out
@@ -0,0 +1 @@
+Hello World
diff --git a/tests/002_hello.ts b/tests/002_hello.ts
new file mode 100644
index 000000000..accefceba
--- /dev/null
+++ b/tests/002_hello.ts
@@ -0,0 +1 @@
+console.log("Hello World");
diff --git a/tests/002_hello.ts.out b/tests/002_hello.ts.out
new file mode 100644
index 000000000..557db03de
--- /dev/null
+++ b/tests/002_hello.ts.out
@@ -0,0 +1 @@
+Hello World