Skip to content

Commit

Permalink
fix check function usage
Browse files Browse the repository at this point in the history
  • Loading branch information
tmck-code committed Mar 19, 2024
1 parent c0e4f81 commit 372f136
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/pokedex_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"testing"

"github.com/tmck-code/pokesay/src/pokedex"
"github.com/tmck-code/pokesay/src/pokesay"
)

var (
Expand All @@ -32,7 +31,7 @@ func TestReadEntry(test *testing.T) {
result := pokedex.ReadPokemonCow(GOBCowData, "data/cows/1.cow")

expected, err := os.ReadFile("data/cows/egg.cow")
pokesay.Check(err)
pokedex.Check(err)

Assert(expected, result, test)
}
Expand Down

0 comments on commit 372f136

Please sign in to comment.