From 903a16174d048af222aff124558d73c0ac5e6080 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sun, 21 Aug 2022 16:27:34 +0100 Subject: Order --- test/Language.hs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/Language.hs b/test/Language.hs index a6a5aa6..448e6ad 100644 --- a/test/Language.hs +++ b/test/Language.hs @@ -32,6 +32,11 @@ expectError input etyp = do Right _ -> assertFailure "expected error, didn't happen" testCase1 = + TestLabel "parse module" $ + TestCase $ + assertAst "module main" [A.Module "main" $ newPos "test" 1 1] + +testCase2 = TestLabel "parse binary number" $ TestCase $ assertAst @@ -40,11 +45,6 @@ testCase1 = A.Num 32 $ newPos "test" 2 1 ] -testCase2 = - TestLabel "parse module" $ - TestCase $ - assertAst "module main" [A.Module "main" $ newPos "test" 1 1] - testCase3 = TestLabel "parse a function" -- cgit v1.2.3