Browse Source

fixed a typo

Aaron Torres 2 years ago
parent
commit
586f3f9391
1 changed files with 2 additions and 2 deletions
  1. 2 2
      chapter4/errwrap/errwrap_test.go

+ 2 - 2
chapter4/errwrap/errwrap_test.go

@@ -26,7 +26,7 @@ func TestWrappedError(t *testing.T) {
 	}
 }
 
-func TestTestWrap(t *testing.T) {
+func TestWrap(t *testing.T) {
 	tests := []struct {
 		name string
 	}{
@@ -34,7 +34,7 @@ func TestTestWrap(t *testing.T) {
 	}
 	for _, tt := range tests {
 		t.Run(tt.name, func(t *testing.T) {
-			TestWrap()
+			Wrap()
 		})
 	}
 }