Skip to content
Permalink
Browse files

move html to testdata

  • Loading branch information...
frioux committed Apr 6, 2019
1 parent 625ce00 commit 4f5b182e813f201f62355824d0a26a23c364ea03
@@ -8,7 +8,7 @@ import (
)

func TestAllCoffees(t *testing.T) {
f, err := os.Open("./all.html")
f, err := os.Open("./testdata/all.html")
if err != nil {
t.Fatalf("Couldn't open all.html: %s", err)
}
@@ -14,7 +14,7 @@ import (
func TestLoadCoffee(t *testing.T) {
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html")
f, err := os.Open("./sm.html")
f, err := os.Open("./testdata/sm.html")
if err != nil {
panic(err)
}
File renamed without changes.
File renamed without changes.

0 comments on commit 4f5b182

Please sign in to comment.
You can’t perform that action at this time.