diff --git a/exercises/hello-world/example.rkt b/exercises/hello-world/example.rkt index d19f9a8c..eb5c01d1 100644 --- a/exercises/hello-world/example.rkt +++ b/exercises/hello-world/example.rkt @@ -2,5 +2,5 @@ (provide hello) -(define (hello [name "World"]) - (string-append "Hello, " name "!")) +(define (hello) + "Hello, World!") diff --git a/exercises/hello-world/hello-world-test.rkt b/exercises/hello-world/hello-world-test.rkt index 968e3cf6..dc037d3b 100644 --- a/exercises/hello-world/hello-world-test.rkt +++ b/exercises/hello-world/hello-world-test.rkt @@ -9,7 +9,6 @@ (test-suite "hello world tests" - (test-equal? "no arg returns Hello, World!" (hello) "Hello, World!") - (test-equal? "with arg returns Hello, arg!" (hello "exercism") "Hello, exercism!"))) + (test-equal? "returns Hello, World!" (hello) "Hello, World!"))) (run-tests suite))