X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=tests%2Forg.simantics.scl.compiler.tests%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FIfWithoutElse.scl;h=824358b2dae609bdb891e3a9f0e72b2327e01542;hp=6659033e2b9ea488cfffcd9616ef16f5a4b455c5;hb=HEAD;hpb=3448b94a8e90047c88eb62a0542c1596acb701b8 diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/IfWithoutElse.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/IfWithoutElse.scl index 6659033e2..824358b2d 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/IfWithoutElse.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/IfWithoutElse.scl @@ -1,11 +1,11 @@ -import "Prelude" - -main = do - x = ref 3 - if 2 > 1 - then x := 4 - if 1 > 2 - then x := 8 - getRef x --- +import "Prelude" + +main = do + x = ref 3 + if 2 > 1 + then x := 4 + if 1 > 2 + then x := 8 + getRef x +-- 4 \ No newline at end of file