diff --git a/exercises/hello-world/src/example.clj b/exercises/hello-world/src/example.clj index acd874a55..b81d18f31 100644 --- a/exercises/hello-world/src/example.clj +++ b/exercises/hello-world/src/example.clj @@ -1,5 +1,4 @@ (ns hello-world) -(defn hello - ([] (hello "World")) - ([name] (str "Hello, " name "!"))) +(defn hello [] + "Hello, World!") diff --git a/exercises/hello-world/test/hello_world_test.clj b/exercises/hello-world/test/hello_world_test.clj index 65e456e65..ce032d912 100644 --- a/exercises/hello-world/test/hello_world_test.clj +++ b/exercises/hello-world/test/hello_world_test.clj @@ -4,9 +4,3 @@ (deftest hello-world-test (is (= "Hello, World!" (hello-world/hello)))) - -(deftest hello-alice-test - (is (= "Hello, Alice!" (hello-world/hello "Alice")))) - -(deftest hello-bob-test - (is (= "Hello, Bob!" (hello-world/hello "Bob"))))