Permalink
Browse files

Implement in TDD

  • Loading branch information...
1 parent 8377e71 commit 7465abb83d1adcfe23e1fc57bfd4fe90977ef1f9 @rightgo09 committed Dec 30, 2012
Showing with 2 additions and 2 deletions.
  1. BIN 02-09/HelloWorld.class
  2. +2 −2 02-09/HelloWorldTest.scala
View
Binary file not shown.
@@ -3,11 +3,11 @@ import junit.framework.Assert._
class HelloWorld {
def greeting(): String = {
- sys.error("greeting")
+ "Hello World"
}
def greeting(message: String): String = {
- sys.error("greeting(String)")
+ "Hello " + message
}
}

0 comments on commit 7465abb

Please sign in to comment.