[Groonga-commit] groonga/gcs [master] Remove needless assertions

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Dec 10 16:09:17 JST 2012


YUKI Hiroshi	2012-12-10 16:09:17 +0900 (Mon, 10 Dec 2012)

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

  Log:
    Remove needless assertions

  Modified files:
    test/gcs-commands.test.js

  Modified: test/gcs-commands.test.js (+0 -9)
===================================================================
--- test/gcs-commands.test.js    2012-12-10 16:06:14 +0900 (e204616)
+++ test/gcs-commands.test.js    2012-12-10 16:09:17 +0900 (9327d48)
@@ -583,9 +583,6 @@ suite('gcs-configure-from-sdf', function() {
            '--source', batchFile,
            '--force',
            '--endpoint', 'localhost:' + utils.testPort)
-      .next(function(result) {
-        assert.equal(0, result.code);
-      })
       .run('gcs-configure-from-sdf',
            '--domain-name', 'companies',
            '--source', batchFile,
@@ -608,9 +605,6 @@ suite('gcs-configure-from-sdf', function() {
            '--source', batchFile,
            '--force',
            '--endpoint', 'localhost:' + utils.testPort)
-      .next(function(result) {
-        assert.equal(0, result.code);
-      })
       .run('gcs-configure-from-sdf',
            '--domain-name', 'companies',
            '--source', batchFile,
@@ -637,9 +631,6 @@ suite('gcs-configure-from-sdf', function() {
            '--source', batchFile,
            '--force',
            '--endpoint', 'localhost:' + utils.testPort)
-      .next(function(result) {
-        assert.equal(0, result.code);
-      })
       .run('gcs-configure-from-sdf',
            '--domain-name', 'companies',
            '--source', path.join(fixturesDirectory, 'add-partial.sdf.json'),
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index