diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7c4cd042..0e8de097 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,6 +24,11 @@ { "name": "Test", "run": "go test -v ./..." + }, + { + "name": "Test on 32bit", + "if": "runner.os == 'Linux'", + "run": "GOARCH=386 go test -v ./..." } ] } diff --git a/error_test.go b/error_test.go index dd147a3b..cd95263c 100644 --- a/error_test.go +++ b/error_test.go @@ -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: