Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mvertes committed Jan 31, 2025
1 parent c179a84 commit efbe251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gnovm/stdlibs/strconv/atoi_test.gno
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ func TestParseInt64Base(t *testing.T) {
func TestParseUint(t *testing.T) {
for i := range parseUint64Tests {
test := &parseUint64Tests[i]
out, err := ParseUint(test.in, 10, 0)
out, err := strconv.ParseUint(test.in, 10, 0)
if test.out != out || !errEqual(test.err, err) {
t.Errorf("ParseUint(%q, 10, 0) = %v, %v want %v, %v",
test.in, out, err, test.out, test.err)
Expand All @@ -436,7 +436,7 @@ func TestParseUint(t *testing.T) {
func TestParseInt(t *testing.T) {
for i := range parseInt64Tests {
test := &parseInt64Tests[i]
out, err := ParseInt(test.in, 10, 0)
out, err := strconv.ParseInt(test.in, 10, 0)
if test.out != out || !errEqual(test.err, err) {
t.Errorf("ParseInt(%q, 10, 0) = %v, %v want %v, %v",
test.in, out, err, test.out, test.err)
Expand Down

0 comments on commit efbe251

Please sign in to comment.