From 19bef5ebf7db71f21ec5518c48facc65461c64d6 Mon Sep 17 00:00:00 2001 From: Jean Rigotti Date: Sat, 19 Oct 2024 09:43:45 -0300 Subject: [PATCH] Fix typo in "Top Secret" exercise instructions --- exercises/concept/top-secret/.docs/instructions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/concept/top-secret/.docs/instructions.md b/exercises/concept/top-secret/.docs/instructions.md index f8c177da38..d8b8369d00 100644 --- a/exercises/concept/top-secret/.docs/instructions.md +++ b/exercises/concept/top-secret/.docs/instructions.md @@ -43,7 +43,7 @@ Extend the `TopSecret.decode_secret_message_part/2` function. If the operation i ```elixir ast_node = TopSecret.to_ast("defp cat(a, b), do: nil") TopSecret.decode_secret_message_part(ast_node, ["day"]) -# => {ast_node, ["ca", "day"]} +# => {ast_node, ["cat", "day"]} ast_node = TopSecret.to_ast("defp cat(), do: nil") TopSecret.decode_secret_message_part(ast_node, ["day"]) @@ -57,7 +57,7 @@ Extend the `TopSecret.decode_secret_message_part/2` function. Make sure the func ```elixir ast_node = TopSecret.to_ast("defp cat(a, b) when is_nil(a), do: nil") TopSecret.decode_secret_message_part(ast_node, ["day"]) -# => {ast_node, ["ca", "day"]} +# => {ast_node, ["cat", "day"]} ``` ## 5. Decode the full secret message