null+****@clear*****
null+****@clear*****
2012年 7月 6日 (金) 16:27:59 JST
SHIMODA Hiroshi 2012-07-06 16:27:59 +0900 (Fri, 06 Jul 2012) New Revision: dfed8502cb3f9653b5417c68cbd46b4ed1a07626 https://github.com/groonga/gcs/commit/dfed8502cb3f9653b5417c68cbd46b4ed1a07626 Log: Update expected dump after DefineIndexField Modified files: test/api-configuration.test.js Modified: test/api-configuration.test.js (+3 -3) =================================================================== --- test/api-configuration.test.js 2012-07-06 16:24:38 +0900 (b0b15e6) +++ test/api-configuration.test.js 2012-07-06 16:27:59 +0900 (c0dfa66) @@ -194,11 +194,11 @@ suite('Configuration API', function() { var dump = database.commandSync('dump', { tables: 'companies' }); - var expected = 'table_create companies_BigramTerms ' + + var expected = 'table_create companies TABLE_HASH_KEY ShortText\n' + + 'column_create companies name COLUMN_SCALAR ShortText\n' + + 'table_create companies_BigramTerms ' + 'TABLE_PAT_KEY|KEY_NORMALIZE ShortText ' + '--default_tokenizer TokenBigram\n' + - 'table_create companies TABLE_HASH_KEY ShortText\n' + - 'column_create companies name COLUMN_SCALAR ShortText\n' + 'column_create companies_BigramTerms companies_name ' + 'COLUMN_INDEX|WITH_POSITION companies name'; assert.equal(dump, expected); -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...Download