Repository navigation
Commit a47c49d
committed
JavaScriptTest: be more lenient with return values
The Nashorn script engine, as well as the stock Mozilla Rhino
implementation (the one not shipped as part of Java 6), both return
Integer instead of Double when you write "return 4;" and similar.1 parent 965b097 commit a47c49d
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
0 commit comments