summaryrefslogtreecommitdiff
path: root/src/math/big/rat_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/big/rat_test.go')
-rw-r--r--src/math/big/rat_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/big/rat_test.go b/src/math/big/rat_test.go
index 598eac8cc..5dbbb3510 100644
--- a/src/math/big/rat_test.go
+++ b/src/math/big/rat_test.go
@@ -89,6 +89,7 @@ var setStringTests = []struct {
{"53/70893980658822810696", "53/70893980658822810696", true},
{"106/141787961317645621392", "53/70893980658822810696", true},
{"204211327800791583.81095", "4084226556015831676219/20000", true},
+ {in: "1/0", ok: false},
}
func TestRatSetString(t *testing.T) {