Skip to content

Commit

Permalink
Merge pull request #367 from zhsj/fix-32
Browse files Browse the repository at this point in the history
Fix test on 32 bit arch
  • Loading branch information
arp242 committed Aug 21, 2022
2 parents 360c9e3 + 473c10f commit 1ba7f5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -24,6 +24,11 @@
{
"name": "Test",
"run": "go test -v ./..."
},
{
"name": "Test on 32bit",
"if": "runner.os == 'Linux'",
"run": "GOARCH=386 go test -v ./..."
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion error_test.go
Expand Up @@ -122,7 +122,7 @@ func TestParseError(t *testing.T) {
},
{
&struct{ Int int }{},
fmt.Sprintf("Int = %d", uint(math.MaxInt64+1)),
fmt.Sprintf("Int = %d", uint64(math.MaxInt64+1)),
`| toml: error: 9223372036854775808 is out of range for int64
|
| At line 1, column 6-25:
Expand Down

0 comments on commit 1ba7f5b

Please sign in to comment.