Skip to content

Commit 1dabf28

Browse files
committed
fix test
1 parent 849a93b commit 1dabf28

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

go.sum

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
4141
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
4242
golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k=
4343
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
44-
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e h1:FDhOuMEY4JVRztM/gsbk+IKUQ8kj74bxZrgw87eMMVc=
4544
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
4645
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
4746
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

server_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@ func TestCWWebRunnerHandler(t *testing.T) {
1717
router.ServeHTTP(rec, req)
1818

1919
assert.Equal(t, http.StatusOK, rec.Code)
20-
assert.Contains(t, rec.Body.String(), "Play")
21-
assert.Contains(t, rec.Body.String(), "Answer")
20+
assert.Contains(t, rec.Body.String(), "CW Web Runner")
2221
}

0 commit comments

Comments
 (0)