diff --git a/exercises/concept/secrets/.docs/instructions.md b/exercises/concept/secrets/.docs/instructions.md index b7ccb6872a..c7dd13d79c 100644 --- a/exercises/concept/secrets/.docs/instructions.md +++ b/exercises/concept/secrets/.docs/instructions.md @@ -11,9 +11,9 @@ All functions should expect integer arguments. Integers are also suitable for pe Implement `Secrets.secret_add/1`. It should return a function which takes one argument and adds to it the argument passed in to `secret_add`. ```elixir -adder = Secrets.secret_add(2) +adder = Secrets.secret_add(3) adder.(2) -# => 4 +# => 5 ``` ## 2. Create a subtractor diff --git a/exercises/concept/secrets/test/secrets_test.exs b/exercises/concept/secrets/test/secrets_test.exs index 04b51fcb20..d7160742f8 100644 --- a/exercises/concept/secrets/test/secrets_test.exs +++ b/exercises/concept/secrets/test/secrets_test.exs @@ -3,9 +3,9 @@ defmodule SecretsTest do describe "secret_add" do @tag task_id: 1 - test "add 3" do - add = Secrets.secret_add(3) - assert add.(3) === 6 + test "add 4" do + add = Secrets.secret_add(4) + assert add.(3) === 7 end @tag task_id: 1