diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2016-07-06 22:29:58 -0400 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2016-07-06 22:29:58 -0400 |
commit | eb261daff5e9a96f294cd806d1fd3e68f06fdbaa (patch) | |
tree | 5f4d05861ac492c52a9f6a0781c69e90be73b60c /test/forcenum.ok | |
parent | ce342a04922797cb53557178c54d32c4efafda16 (diff) | |
download | egawk-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.ok | 6 |
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) |