null+****@clear*****
null+****@clear*****
2012年 7月 9日 (月) 10:00:26 JST
Kouhei Sutou 2012-07-09 10:00:26 +0900 (Mon, 09 Jul 2012) New Revision: 8664a0362175a11de9e94ff4c1cff8f2b68bbd7c https://github.com/groonga/gcs/commit/8664a0362175a11de9e94ff4c1cff8f2b68bbd7c Log: Add missing spaces arround '+' Modified files: lib/api/2011-02-01/configuration.js test/api-configuration.test.js test/batch-translator.test.js Modified: lib/api/2011-02-01/configuration.js (+1 -1) =================================================================== --- lib/api/2011-02-01/configuration.js 2012-07-06 19:05:07 +0900 (0eb9412) +++ lib/api/2011-02-01/configuration.js 2012-07-09 10:00:26 +0900 (82e47cc) @@ -14,7 +14,7 @@ function createCommonErrorResponse(errorCode, message) { return '<?xml version="1.0"?>\n' + '<Response>' + '<Errors>' + - '<Error><Code>' + errorCode +'</Code>' + + '<Error><Code>' + errorCode + '</Code>' + '<Message>' + message + '</Message></Error>' + '</Errors>' + '<RequestID></RequestID>' + Modified: test/api-configuration.test.js (+1 -1) =================================================================== --- test/api-configuration.test.js 2012-07-06 19:05:07 +0900 (3ee5de3) +++ test/api-configuration.test.js 2012-07-09 10:00:26 +0900 (2f1c692) @@ -17,7 +17,7 @@ function createCommonErrorResponse(errorCode, message) { return '<?xml version="1.0"?>\n' + '<Response>' + '<Errors>' + - '<Error><Code>' + errorCode +'</Code>' + + '<Error><Code>' + errorCode + '</Code>' + '<Message>' + message + '</Message></Error>' + '</Errors>' + '<RequestID></RequestID>' + Modified: test/batch-translator.test.js (+2 -2) =================================================================== --- test/batch-translator.test.js 2012-07-06 19:05:07 +0900 (4760b19) +++ test/batch-translator.test.js 2012-07-09 10:00:26 +0900 (4c024d2) @@ -139,7 +139,7 @@ suite('batch/translator/Translator (class methods)', function() { }]) } }; - var expected = 'load --table test --values '+command.options.values; + var expected = 'load --table test --values ' + command.options.values; var stringified = Translator.commandToString(command); assert.equal(stringified, expected); }); @@ -154,7 +154,7 @@ suite('batch/translator/Translator (class methods)', function() { key: batch['id'] } }; - var expected = 'delete --table test --key '+command.options.key; + var expected = 'delete --table test --key ' + command.options.key; var stringified = Translator.commandToString(command); assert.equal(stringified, expected); }); -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...ダウンロード