Skip to content

Commit

Permalink
Minor fix in the Agent chapter (#1083)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbirman authored and whatyouhide committed Jan 30, 2018
1 parent 5243912 commit 6825402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getting-started/mix-otp/agent.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Also note the `async: true` option passed to `ExUnit.Case`. This option makes th
Async or not, our new test should obviously fail, as none of the functionality is implemented in the module being tested:

```
** (UndefinedFunctionError) function Foo.start_link/0 is undefined (module Foo is not available)
** (UndefinedFunctionError) function KV.Bucket.start_link/1 is undefined (module KV.Bucket is not available)
```

In order to fix the failing test, let's create a file at `lib/kv/bucket.ex` with the contents below. Feel free to give a try at implementing the `KV.Bucket` module yourself using agents before peeking at the implementation below.
Expand Down

0 comments on commit 6825402

Please sign in to comment.