diff --git a/test/math/math_server.js b/test/math/math_server.js index fa05ed01..5e3d1dd8 100644 --- a/test/math/math_server.js +++ b/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);