diff --git a/config.json b/config.json index f5c4f68..bcdc601 100644 --- a/config.json +++ b/config.json @@ -13,8 +13,8 @@ "slug": "hello-world", "difficulty": 1, "topics": [ - "strings", - "default arguments" + "primitives", + "methods" ] }, { diff --git a/exercises/hello-world/example.pony b/exercises/hello-world/example.pony index 36adf30..bfe73a4 100644 --- a/exercises/hello-world/example.pony +++ b/exercises/hello-world/example.pony @@ -1,3 +1,2 @@ primitive HelloWorld - fun hello(name: String = "World"): String => - "Hello, " + name + "!" + fun hello(): String => "Hello, World!" diff --git a/exercises/hello-world/test.pony b/exercises/hello-world/test.pony index 5e36ee8..dc56214 100644 --- a/exercises/hello-world/test.pony +++ b/exercises/hello-world/test.pony @@ -12,4 +12,3 @@ class iso _TestHelloWorld is UnitTest fun apply(h: TestHelper) => h.assert_eq[String]("Hello, World!", HelloWorld.hello()) - h.assert_eq[String]("Hello, Exercism!", HelloWorld.hello("Exercism"))