From a2d240f4715e96cfb97410ebd5d8e6606e891af9 Mon Sep 17 00:00:00 2001 From: Alex Bethel Date: Mon, 9 Aug 2021 14:41:02 -0600 Subject: [PATCH] Format `.able` test files Unified mixed 2-space and 4-space indentation into uniform 3-space indentation. --- able-script-test/functio.able | 2 +- able-script-test/iotest.able | 4 ++-- able-script-test/pass-by-reference.able | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/able-script-test/functio.able b/able-script-test/functio.able index ce690b4d..b31584cc 100644 --- a/able-script-test/functio.able +++ b/able-script-test/functio.able @@ -1,4 +1,4 @@ functio hello(words){ - words print; + words print; } hello("wonk"); diff --git a/able-script-test/iotest.able b/able-script-test/iotest.able index b0406dfe..3795d6c5 100644 --- a/able-script-test/iotest.able +++ b/able-script-test/iotest.able @@ -1,5 +1,5 @@ var data; loop { - data read; - data print; + data read; + data print; } diff --git a/able-script-test/pass-by-reference.able b/able-script-test/pass-by-reference.able index 4dc603ad..25c77a7c 100644 --- a/able-script-test/pass-by-reference.able +++ b/able-script-test/pass-by-reference.able @@ -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; }