[Groonga-commit] groonga/express-kotoumi [master] Make expected value of numeric parameters Number

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Jan 16 13:03:53 JST 2013


YUKI Hiroshi	2013-01-16 13:03:53 +0900 (Wed, 16 Jan 2013)

  New Revision: 43fc5ba96e5467c2684d4e8716a84e300d59c4dd
  https://github.com/groonga/express-kotoumi/commit/43fc5ba96e5467c2684d4e8716a84e300d59c4dd

  Log:
    Make expected value of numeric parameters Number

  Modified files:
    test/builders-rest-request.test.js

  Modified: test/builders-rest-request.test.js (+2 -2)
===================================================================
--- test/builders-rest-request.test.js    2013-01-16 13:03:02 +0900 (974bd47)
+++ test/builders-rest-request.test.js    2013-01-16 13:03:53 +0900 (b020dcc)
@@ -47,8 +47,8 @@ suite('building message from REST API request', function() {
           result: {
             source:  'people',
             query:   'foobar',
-            offset:  '10',
-            limit:   '100',
+            offset:  10,
+            limit:   100,
             matchTo: ['realname', 'nickname'],
             sortBy:  ['-realname', '-nickname'],
             attributes: ['realname', 'nickname', 'age', 'job'],
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index