mirror of
https://github.com/Crocmagnon/gopher-the-number.git
synced 2024-11-21 23:48:03 +01:00
mark helper as such
This commit is contained in:
parent
0221dafe57
commit
7e4c8cece9
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ func TestCheckGuess(t *testing.T) {
|
|||
})
|
||||
}
|
||||
|
||||
func assertCheckGuess(t *testing.T, guess, random int, wantStatus string, wantWon bool) {
|
||||
func assertCheckGuess(t testing.TB, guess, random int, wantStatus string, wantWon bool) {
|
||||
t.Helper()
|
||||
status, won := CheckGuess(guess, random)
|
||||
if status != wantStatus {
|
||||
t.Errorf("got %q want %q", status, wantStatus)
|
||||
|
|
Loading…
Reference in a new issue