Permalink
Browse files

Space in test

  • Loading branch information...
1 parent 8fddeec commit c1d5f6dcc5b35ec4c745fc5640f8e81fc7dae232 jensli committed Aug 4, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 F4_Projects/FantomPatternMatching/src/PatternsTest.fan
@@ -15,10 +15,10 @@ class PatternsTest : Test
output = CompilerOutputMode.transientPod
mode = CompilerInputMode.str
srcStr = src
- srcStrLoc = Loc( "Compiler_test_loc" )
+ srcStrLoc = Loc("Compiler_test_loc")
}
- compiler := Compiler( input )
+ compiler := Compiler(input)
output := compiler.compile
return output.transientPod
@@ -27,16 +27,16 @@ class PatternsTest : Test
Void testSimple()
{
- pod := compile( testPrg )
+ pod := compile(testPrg)
- testObj := Exp.makeDef( "Woo", 2 )
+ testObj := Exp.makeDef("Woo", 2)
t := pod.types.first
- result1 := t.method( "test" ).call( testObj )
+ result1 := t.method("test").call(testObj)
verifyEq("1", result1, "Matching")
- result2 := t.method( "test" ).call("No Exp obj")
+ result2 := t.method("test").call("No Exp obj")
verifyEq("Default", result2, "Not matching wrong type, default")
}

0 comments on commit c1d5f6d

Please sign in to comment.