From b6fe5737c1e61ca6417bcd4d4ce5d0bb8b83f8f2 Mon Sep 17 00:00:00 2001 From: Khan <82113408+gansaikhanshur@users.noreply.github.com> Date: Fri, 22 Nov 2024 09:10:10 -0500 Subject: [PATCH] fixed error with di chapter:write first test (#784) --- dependency-injection.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dependency-injection.md b/dependency-injection.md index c3875f93b..fdec3539c 100644 --- a/dependency-injection.md +++ b/dependency-injection.md @@ -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