Skip to content

Commit d3e02cd

Browse files
Fixed listing numbers.
1 parent fbbbf62 commit d3e02cd

File tree

8 files changed

+4
-67
lines changed

8 files changed

+4
-67
lines changed

chapter9/listing04/listing04_test.go

-63
This file was deleted.

chapter9/listing02/listing02_test.go chapter9/listing08/listing08_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Sample test to show how to write a basic unit table test.
2-
package listing02
2+
package listing08
33

44
import (
55
"net/http"

chapter9/listing03/listing03_test.go chapter9/listing12/listing12_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Sample test to show how to mock an HTTP GET call internally.
22
// Differs slightly from the book to show more.
3-
package listing03
3+
package listing12
44

55
import (
66
"encoding/xml"

chapter9/listing04/handlers/handlers_test.go chapter9/listing17/handlers/handlers_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http/httptest"
99
"testing"
1010

11-
"github.com/goinaction/code/chapter9/listing04/handlers"
11+
"github.com/goinaction/code/chapter9/listing17/handlers"
1212
)
1313

1414
const checkMark = "\u2713"

chapter9/listing04/listing04.go chapter9/listing17/listing17.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"log"
66
"net/http"
77

8-
"github.com/goinaction/code/chapter9/listing04/handlers"
8+
"github.com/goinaction/code/chapter9/listing17/handlers"
99
)
1010

1111
// main is the entry point for the application.
File renamed without changes.

0 commit comments

Comments
 (0)