aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/strconv/atof_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/strconv/atof_test.go')
-rw-r--r--libgo/go/strconv/atof_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgo/go/strconv/atof_test.go b/libgo/go/strconv/atof_test.go
index 6d8396e..0fdd0ea 100644
--- a/libgo/go/strconv/atof_test.go
+++ b/libgo/go/strconv/atof_test.go
@@ -47,6 +47,9 @@ var atoftests = []atofTest{
{"inf", "+Inf", nil},
{"-Inf", "-Inf", nil},
{"+INF", "+Inf", nil},
+ {"-Infinity", "-Inf", nil},
+ {"+INFINITY", "+Inf", nil},
+ {"Infinity", "+Inf", nil},
// largest float64
{"1.7976931348623157e308", "1.7976931348623157e+308", nil},