aboutsummaryrefslogtreecommitdiffstats
path: root/test/forcenum.ok
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2016-07-06 22:29:58 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2016-07-06 22:29:58 -0400
commiteb261daff5e9a96f294cd806d1fd3e68f06fdbaa (patch)
tree5f4d05861ac492c52a9f6a0781c69e90be73b60c /test/forcenum.ok
parentce342a04922797cb53557178c54d32c4efafda16 (diff)
downloadegawk-eb261daff5e9a96f294cd806d1fd3e68f06fdbaa.tar.gz
egawk-eb261daff5e9a96f294cd806d1fd3e68f06fdbaa.tar.bz2
egawk-eb261daff5e9a96f294cd806d1fd3e68f06fdbaa.zip
Modify MAYBE_NUM usage and typeof function to return "strnum" only for actual numeric strings.
Diffstat (limited to 'test/forcenum.ok')
-rw-r--r--test/forcenum.ok6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/forcenum.ok b/test/forcenum.ok
index c74eefc7..a379db62 100644
--- a/test/forcenum.ok
+++ b/test/forcenum.ok
@@ -1,7 +1,7 @@
[] -> 0 (type string)
[5apple] -> 5 (type string)
-[+NaN] -> nan (type number)
-[ 6] -> 6 (type number)
+[+NaN] -> nan (type strnum)
+[ 6] -> 6 (type strnum)
[0x1az] -> 26 (type string)
[011Q] -> 9 (type string)
-[027] -> 23 (type number)
+[027] -> 23 (type strnum)