[Groonga-commit] groonga/gcs [master] Specify related domain correctly

Zurück zum Archiv-Index

YUKI Hiroshi null+****@clear*****
Fri Nov 16 16:04:24 JST 2012


YUKI Hiroshi	2012-11-16 16:04:24 +0900 (Fri, 16 Nov 2012)

  New Revision: 6edc077a32926dc1ae246fa2a206b3312724e461
  https://github.com/groonga/gcs/commit/6edc077a32926dc1ae246fa2a206b3312724e461

  Log:
    Specify related domain correctly

  Modified files:
    test/database-index-field.test.js

  Modified: test/database-index-field.test.js (+2 -2)
===================================================================
--- test/database-index-field.test.js    2012-11-16 16:01:56 +0900 (6ce8e36)
+++ test/database-index-field.test.js    2012-11-16 16:04:24 +0900 (ed50061)
@@ -87,7 +87,7 @@ suite('database', function() {
 
     test('upper case', function() {
       assert.throw(function() {
-        var field = new IndexField('FieldName');
+        var field = new IndexField('FieldName', domain);
       }, '1 validation error detected: ' +
            'Value \'FieldName\' at \'%NAME_FIELD%\' failed to satisfy constraint: ' +
              'Member must satisfy regular expression pattern: ' +
@@ -95,7 +95,7 @@ suite('database', function() {
     });
 
     test('unknown type', function() {
-      var field = new IndexField('foo');
+      var field = new IndexField('foo', domain);
       assert.throw(function() {
         field.type = 'unknown';
       }, '1 validation error detected: ' +
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index