summaryrefslogtreecommitdiff
path: root/lib/std/test
diff options
context:
space:
mode:
authorsnocl <snorredc@gmail.com>2017-11-28 18:29:13 +0100
committerOri Bernstein <ori@eigenstate.org>2017-11-28 10:27:32 -0800
commit3df8885d396e1bc36fe25a329bc4e63400126ecf (patch)
tree123b78432ae7ee8ae30c50a2123e25d8a31891e6 /lib/std/test
parent89b3d3a94433aa7dac7f823cde944ff44a773461 (diff)
downloadmc-3df8885d396e1bc36fe25a329bc4e63400126ecf.tar.gz
Format bodyless union without trailing space.
Also fix some whitespace.
Diffstat (limited to 'lib/std/test')
-rw-r--r--lib/std/test/fmt.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/test/fmt.myr b/lib/std/test/fmt.myr
index c1a17ac..be83952 100644
--- a/lib/std/test/fmt.myr
+++ b/lib/std/test/fmt.myr
@@ -72,7 +72,7 @@ const builtins = {
check("666.91972", "{}", 666.91972)
check("1.0001", "{}", 1.0001)
check("0.000101323461002", "{}", 0.000101323461002)
- check("(1, `Bar 123, `Foo )", "{}", (1, `Bar 123, `Foo))
+ check("(1, `Bar 123, `Foo)", "{}", (1, `Bar 123, `Foo))
/* tricky cases: min values for integers */
check("-128", "{}", (-128 : int8))
@@ -91,7 +91,7 @@ const builtins = {
/*check("[.a=foo, .b=123] true", "{} {}", s, true) BUSTED */
m = `First
- check("`First true", "{} {}", m, true)
+ check("`First true", "{} {}", m, true)
m = `Second 123
check("`Second 123 true", "{} {}", m, true)
m = `Third "foo"