Created
October 31, 2012 19:17
-
-
Save LeifWarner/3989211 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
testOptions in Test += Tests.Setup { | |
_.loadClass("janrain.Foo").newInstance().asInstanceOf[Function0[_]]() | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package janrain | |
class Foo extends Function0[Unit] { | |
def apply() { | |
println("Called FOO") | |
println(RedisSetup) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment