Kouhei Sutou
null+****@clear*****
Sun Mar 2 15:31:49 JST 2014
Kouhei Sutou 2014-03-02 15:31:49 +0900 (Sun, 02 Mar 2014) New Revision: 5842efca4f49f43516864e83a127c048a9ea600e https://github.com/groonga/gcs/commit/5842efca4f49f43516864e83a127c048a9ea600e Message: test: fix expected value Modified files: test/database-domain.test.js Modified: test/database-domain.test.js (+3 -3) =================================================================== --- test/database-domain.test.js 2014-03-02 15:17:46 +0900 (fa2eba0) +++ test/database-domain.test.js 2014-03-02 15:31:49 +0900 (133b157) @@ -86,7 +86,7 @@ suite('database', function() { assert.throw(function() { var domain = new Domain('domain-name').validate(); }, '1 validation error detected: ' + - 'Value \'domain_name\' at \'%NAME_FIELD%\' failed to satisfy constraint: ' + + 'Value \'domain-name\' at \'%NAME_FIELD%\' failed to satisfy constraint: ' + 'Member cannot include these characters: \'-\''); }); @@ -103,7 +103,7 @@ suite('database', function() { assert.throw(function() { var domain = new Domain('DomainName').validate(); }, '1 validation error detected: ' + - 'Value \'%NAME_FIELD%\' at \'%NAME_FIELD%\' failed to satisfy constraint: ' + + 'Value \'DomainName\' at \'%NAME_FIELD%\' failed to satisfy constraint: ' + 'Member must satisfy regular expression pattern: ' + Domain.VALID_NAME_PATTERN); }); @@ -219,7 +219,7 @@ suite('database', function() { url: '/gcs/test_0123-id0123' }; var domain = new Domain({ source: request }).validate(); }, '1 validation error detected: ' + - 'Value \'domain_name\' at \'%NAME_FIELD%\' failed to satisfy constraint: ' + + 'Value \'test_0123\' at \'%NAME_FIELD%\' failed to satisfy constraint: ' + 'Member must satisfy regular expression pattern: ' + Domain.VALID_NAME_PATTERN); }); -------------- next part -------------- HTML����������������������������...Download