[Groonga-commit] groonga/gcs [master] Replace datetime to "..." for assert.equal

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 21日 (木) 17:12:26 JST


SHIMODA Hiroshi	2012-06-21 17:12:26 +0900 (Thu, 21 Jun 2012)

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

  Log:
    Replace datetime to "..." for assert.equal

  Modified files:
    test/api-configuration.test.js

  Modified: test/api-configuration.test.js (+1 -1)
===================================================================
--- test/api-configuration.test.js    2012-06-21 17:11:28 +0900 (264d63e)
+++ test/api-configuration.test.js    2012-06-21 17:12:26 +0900 (a28dded)
@@ -134,7 +134,7 @@ suite('Configuration API', function() {
         var actual = {
               statusCode: response.statusCode,
               body: response.body
-                      .replace(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z/g, '')
+                      .replace(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z/g, '...')
             };
         assert.deepEqual(actual, expected);
 
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index