Skip to content

Commit

Permalink
Fix typo in "Top Secret" exercise instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgtt committed Oct 19, 2024
1 parent 3421ff1 commit 19bef5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/concept/top-secret/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand All @@ -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
Expand Down

0 comments on commit 19bef5e

Please sign in to comment.