File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -18,5 +18,6 @@ before_script:
18
18
script :
19
19
- jsc builds/out-adv/core-advanced-test.js | grep -o '[[:digit:]]*' | tail -n 2 | python script/check.py
20
20
- ./spidermoney/js -f builds/out-adv/core-advanced-test.js | grep -o '[[:digit:]]*' | tail -n 2 | python script/check.py
21
+ - jjs builds/out-adv/core-advanced-test.js | grep -o '[[:digit:]]*' | tail -n 2 | python script/check.py
21
22
- script/test-self-host | grep -o '[[:digit:]]*' | tail -n 2 | python script/check.py
22
23
- script/test-self-parity | grep -o '[[:digit:]]*' | tail -n 2 | python script/check.py
Original file line number Diff line number Diff line change @@ -1070,16 +1070,18 @@ Usage: *hello*
1070
1070
| {:a is-a} | 1 |
1071
1071
| 5 | 7 |
1072
1072
"
1073
- ; ;This test is changed a bit due to the way JS prints large numbers. The number
1074
- ; ; was changed (54.7e17 to 54.7e20) to make sure JS prints it in E notation (5.47E21)
1073
+ ; ; This test is changed a bit due to the way JS prints large numbers, as well as the
1074
+ ; ; way Nashorn formats floating point output using Java. The number was changed
1075
+ ; ; (54.7e17 to 54.7e21) to make sure JS prints it in E notation (5.47E22) and Nashorn
1076
+ ; ; truncates at the desired precision.
1075
1077
(with-out-str
1076
1078
(print-table [:a :e :d :c ]
1077
- [{:a 54.7e20 :b {:a 'is-a} :c [" hi" " there" ]}
1079
+ [{:a 54.7e21 :b {:a 'is-a} :c [" hi" " there" ]}
1078
1080
{:b 5 :a -23 :c " dog" :d 'panda}]))
1079
1081
"
1080
1082
| :a | :e | :d | :c |
1081
1083
|----------+----+-------+----------------|
1082
- | 5.47e+21 | | | [\" hi\" \" there\" ] |
1084
+ | 5.47e+22 | | | [\" hi\" \" there\" ] |
1083
1085
| -23 | | panda | dog |
1084
1086
"
1085
1087
)
You can’t perform that action at this time.
0 commit comments