aboutsummaryrefslogtreecommitdiff
path: root/examples/test-runner.ts
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2023-01-13 20:32:20 +0530
committerAkshay Nair <phenax5@gmail.com>2023-01-13 20:33:01 +0530
commit518a6a9ee31f0b03f08cb77bc613b4d708bb640b (patch)
tree7f17ce66f337dee573192ce06a24385415048ae2 /examples/test-runner.ts
parent42f8c401dc9519bc8b2d386ce9eda072144a46d0 (diff)
downloadts-types-lang-518a6a9ee31f0b03f08cb77bc613b4d708bb640b.tar.gz
ts-types-lang-518a6a9ee31f0b03f08cb77bc613b4d708bb640b.zip
chore: prettier
Diffstat (limited to '')
-rw-r--r--examples/test-runner.ts42
1 files changed, 21 insertions, 21 deletions
diff --git a/examples/test-runner.ts b/examples/test-runner.ts
index 081dede..7dc1966 100644
--- a/examples/test-runner.ts
+++ b/examples/test-runner.ts
@@ -4,37 +4,37 @@ import { SetEvalEnvironment } from '../stdlib/sys'
import { Test, Assert } from '../stdlib/test'
import { Equals, Not } from '../stdlib/util'
-type testSomeStuff = Do<[
- PutStringLn<"Some Stuff">,
+type testSomeStuff = Do<
+ [
+ PutStringLn<'Some Stuff'>,
- Test<"should do some stuff", [
- Assert<Equals<1, 1>>,
- Assert<Not<Equals<2, 1>>>,
- ]>,
+ Test<
+ 'should do some stuff',
+ [Assert<Equals<1, 1>>, Assert<Not<Equals<2, 1>>>]
+ >,
- Test<"bing bong, bing bing bong", [
- Assert<Equals<1, 1>>,
- ]>,
-]>
+ Test<'bing bong, bing bing bong', [Assert<Equals<1, 1>>]>
+ ]
+>
-type testSomeMoreStuff = Do<[
- PutStringLn<"Other stuff?">,
+type testSomeMoreStuff = Do<
+ [
+ PutStringLn<'Other stuff?'>,
- Test<"should do some other stuff", [
- Assert<Equals<[1, 2, 3], [1, 2, 3]>>,
- ]>,
+ Test<'should do some other stuff', [Assert<Equals<[1, 2, 3], [1, 2, 3]>>]>
- // Test<"this'll fail fo sho", [
- // Assert<Equals<[1, 2, 3], [4, 5, 6]>>,
- // ]>,
-]>
+ // Test<"this'll fail fo sho", [
+ // Assert<Equals<[1, 2, 3], [4, 5, 6]>>,
+ // ]>,
+ ]
+>
export type main = [
// Update env to node with test helpers
SetEvalEnvironment<'test.node'>,
- PutStringLn<"=== Running tests... ===\n">,
+ PutStringLn<'=== Running tests... ===\n'>,
testSomeStuff,
- testSomeMoreStuff,
+ testSomeMoreStuff
]