[Groonga-commit] nroonga/nroonga at f8941b3 [master] Update test according to current groonga specification

アーカイブの一覧に戻る

abetomo null+****@clear*****
Wed Aug 30 13:14:11 JST 2017


abetomo	2017-08-14 15:34:00 +0900 (Mon, 14 Aug 2017)

  New Revision: f8941b3c5cfe6efa0d5b4e262acdac4155aef8cc
  https://github.com/nroonga/nroonga/commit/f8941b3c5cfe6efa0d5b4e262acdac4155aef8cc

  Merged 2f7c45b: Merge pull request #7 from abetomo/upgrade_node_to_use

  Message:
    Update test according to current groonga specification

  Modified files:
    test/database.test.coffee

  Modified: test/database.test.coffee (+6 -5)
===================================================================
--- test/database.test.coffee    2017-08-14 15:21:50 +0900 (97c4523)
+++ test/database.test.coffee    2017-08-14 15:34:00 +0900 (7d939be)
@@ -145,12 +145,10 @@ describe 'database with data stored', ->
     withTestDatabase (db) ->
       result = db.commandSync('dump', tables: 'Site')
       expected_dump = 'table_create Site TABLE_HASH_KEY ShortText\n' +
-                      'column_create Site title COLUMN_SCALAR ShortText\n' +
+                      'column_create Site title COLUMN_SCALAR ShortText\n\n' +
                       'table_create Terms TABLE_PAT_KEY ' +
                         'ShortText --default_tokenizer TokenBigram ' +
-                        '--normalizer NormalizerAuto\n' +
-                      'column_create Terms entry_title ' +
-                        'COLUMN_INDEX|WITH_POSITION Site title\n' +
+                        '--normalizer NormalizerAuto\n\n' +
                       'load --table Site\n' +
                       '[\n' +
                       '["_key","title"],\n' +
@@ -160,6 +158,9 @@ describe 'database with data stored', ->
                         'Ruby with groonga - Ranguba"],\n' +
                       '["http://mroonga.github.com/","Groonga storage ' +
                         'engine - Fast fulltext search on MySQL"]\n' +
-                      ']'
+                      ']\n\n' +
+                      'column_create Terms entry_title ' +
+                        'COLUMN_INDEX|WITH_POSITION Site title'
+
       result.should.equal(expected_dump)
       done()
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る