[Groonga-commit] groonga/gcs [master] Update expected dump for self creation date

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Dec 25 16:35:22 JST 2012


YUKI Hiroshi	2012-12-25 16:35:22 +0900 (Tue, 25 Dec 2012)

  New Revision: ea1974ebd7dd740f60333281c5c6d30b35608293
  https://github.com/groonga/gcs/commit/ea1974ebd7dd740f60333281c5c6d30b35608293

  Log:
    Update expected dump for self creation date

  Modified files:
    test/database-domain.test.js

  Modified: test/database-domain.test.js (+3 -1)
===================================================================
--- test/database-domain.test.js    2012-12-25 16:31:53 +0900 (fd520f7)
+++ test/database-domain.test.js    2012-12-25 16:35:22 +0900 (d0681e5)
@@ -821,7 +821,7 @@ suite('database', function() {
         temporaryDatabase = undefined;
       });
 
-      test('setConfiguration', function() {
+      test('', function() {
         domain.setConfiguration('key1_string', 'abc');
         domain.setConfiguration('key2_number', 123);
         domain.setConfiguration('key3_hash', { value: true });
@@ -839,6 +839,7 @@ suite('database', function() {
              'load --table ' + domain.configurationsTableName + '\n' +
              '[\n' +
              '["_key","value"],\n' +
+             '["self_created_at","' + domain.getCreationDate('self').getTime() + '"],\n' +
              '["key1_string","\\"abc\\""],\n' +
              '["key2_number","123"],\n' +
              '["key3_hash","{\\"value\\":true}"]\n' +
@@ -889,6 +890,7 @@ suite('database', function() {
              'load --table ' + domain.configurationsTableName + '\n' +
              '[\n' +
              '["_key","value"],\n' +
+             '["self_created_at","' + domain.getCreationDate('self').getTime() + '"],\n' +
              '["key1_string","\\"abc\\""]\n' +
              ']';
         var dumpActual = context.commandSync('dump', {
-------------- next part --------------
HTML����������������������������...
Download 



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