Skip to content

Commit ebf6e77

Browse files
committed
Fix tests
1 parent a83542b commit ebf6e77

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/hint_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func Test_HintHandler(t *testing.T) {
140140
router.ServeHTTP(w, req)
141141

142142
got := w.Body.String()
143-
want := `<article><i class="bi bi-question-circle"></i> ` + tt.want + `</article>
143+
want := `<article class="secondary"><i>help</i> ` + tt.want + `</article>
144144
`
145145

146146
if !reflect.DeepEqual(got, want) {

mise.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ DEV = "true"
66
[tools]
77
nodejs = "19.3.0"
88
golang = "1.25.1"
9-
staticcheck = 'latest'
9+
"go:honnef.co/go/tools/cmd/staticcheck" = 'latest'
1010

1111
[vars]
1212
filename = 'guess-my-word'
1313

1414
[tasks.default]
1515
description = "Execute the app in development mode"
1616
depends = ["build"]
17-
run = ["docker compose up -d --wait", "./{{vars.filename}}"]
17+
run = ["./{{vars.filename}}"]
1818

1919
[tasks.build]
2020
description = "Execute the app in development mode"

0 commit comments

Comments
 (0)