Skip to content

Commit

Permalink
fixed error with di chapter:write first test (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
gansaikhanshur authored Nov 22, 2024
1 parent 43d6aef commit b6fe573
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dependency-injection.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ So we'll use it in our test to send in as our `Writer` and then we can check wha
The test will not compile

```text
./di_test.go:10:7: too many arguments in call to Greet
have (*bytes.Buffer, string)
want (string)
./di_test.go:10:2: undefined: Greet
```

## Write the minimal amount of code for the test to run and check the failing test output
Expand Down

0 comments on commit b6fe573

Please sign in to comment.