Format `.able` test files

Unified mixed 2-space and 4-space indentation into uniform 3-space
indentation.
pull/43/head
Alex Bethel 2021-08-09 14:41:02 -06:00
parent 255c28db47
commit 1985765d78
3 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
functio hello(words){
words print;
words print;
}
hello("wonk");

View File

@ -1,5 +1,5 @@
var data;
loop {
data read;
data print;
data read;
data print;
}

View File

@ -2,9 +2,9 @@ owo Pass-by-reference test
owo Swap two variables.
functio swap(left, right) {
var tmp = left;
left = right;
right = tmp;
var tmp = left;
left = right;
right = tmp;
}
var foo = "hello";
@ -13,11 +13,11 @@ var bar = "world";
swap(foo, bar);
if (foo != "world") {
"FAILED" print;
"foo should be 'world', is actually:" print;
foo print;
"FAILED" print;
"foo should be 'world', is actually:" print;
foo print;
}
if (foo == "world") {
"OK" print;
"OK" print;
}