Skip to content

Commit

Permalink
Update app_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenny committed Jun 27, 2020
1 parent b907e33 commit 88f67a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func Test_App_Static_Direct(t *testing.T) {

body, err = ioutil.ReadAll(resp.Body)
utils.AssertEqual(t, nil, err)
utils.AssertEqual(t, true, strings.Contains(string(body), "buymeacoffee"))
utils.AssertEqual(t, true, strings.Contains(string(body), "gofiber.io/support"))
}
func Test_App_Static_Group(t *testing.T) {
app := New()
Expand Down Expand Up @@ -403,7 +403,7 @@ func Test_App_Static_Wildcard(t *testing.T) {

body, err := ioutil.ReadAll(resp.Body)
utils.AssertEqual(t, nil, err)
utils.AssertEqual(t, true, strings.Contains(string(body), "buymeacoffee"))
utils.AssertEqual(t, true, strings.Contains(string(body), "gofiber.io/support"))

}

Expand All @@ -429,7 +429,7 @@ func Test_App_Static_Prefix_Wildcard(t *testing.T) {

body, err := ioutil.ReadAll(resp.Body)
utils.AssertEqual(t, nil, err)
utils.AssertEqual(t, true, strings.Contains(string(body), "buymeacoffee"))
utils.AssertEqual(t, true, strings.Contains(string(body), "gofiber.io/support"))
}

func Test_App_Static_Prefix(t *testing.T) {
Expand Down

0 comments on commit 88f67a0

Please sign in to comment.