Skip to content

Commit d3e02cd

Browse files
Fixed listing numbers.
1 parent fbbbf62 commit d3e02cd

8 files changed

Lines changed: 4 additions & 67 deletions

File tree

‎chapter9/listing04/listing04_test.go‎

Lines changed: 0 additions & 63 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
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"
Lines changed: 1 addition & 1 deletion
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"
File renamed without changes.

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

Lines changed: 1 addition & 1 deletion
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"
Lines changed: 1 addition & 1 deletion
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.

0 commit comments

Comments
 (0)