aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/test/math
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2016-05-05 16:07:33 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2016-05-06 10:40:41 -0700
commitc3eb64980f9cfd907c30c25853a45124138ae88d (patch)
tree790e04f46362043a214e2211610cd2c421079326 /src/node/test/math
parentacae9fe6e74eb0bb55c87a8046c1cdd6bf83f32a (diff)
node: fix math server minor bug
Diffstat (limited to 'src/node/test/math')
-rw-r--r--src/node/test/math/math_server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/test/math/math_server.js b/src/node/test/math/math_server.js
index fa05ed0165..5e3d1dd864 100644
--- a/src/node/test/math/math_server.js
+++ b/src/node/test/math/math_server.js
@@ -68,7 +68,7 @@ function mathDiv(call, cb) {
function mathFib(stream) {
// Here, call is a standard writable Node object Stream
var previous = 0, current = 1;
- for (var i = 0; i < stream.request.limit; i++) {
+ for (var i = 0; i < stream.request.getLimit(); i++) {
var response = new math.Num();
response.setNum(current);
stream.write(response);