[Groonga-commit] groonga/gcs [master] Fix the order of expected and actual values for assert.equal()

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Nov 16 19:06:05 JST 2012


YUKI Hiroshi	2012-11-16 19:06:05 +0900 (Fri, 16 Nov 2012)

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

  Log:
    Fix the order of expected and actual values for assert.equal()

  Modified files:
    test/database-domain.test.js

  Modified: test/database-domain.test.js (+2 -2)
===================================================================
--- test/database-domain.test.js    2012-11-16 19:04:09 +0900 (f34b859)
+++ test/database-domain.test.js    2012-11-16 19:06:05 +0900 (6717566)
@@ -604,7 +604,7 @@ suite('database', function() {
         var dumpActual = context.commandSync('dump', {
               tables: domain.synonymsTableName
             });
-        assert.equal(dumpExpected, dumpActual);
+        assert.equal(dumpActual, dumpExpected);
       });
 
       test('updateSynonymsSync, replace', function() {
@@ -630,7 +630,7 @@ suite('database', function() {
         var dumpActual = context.commandSync('dump', {
               tables: domain.synonymsTableName
             });
-        assert.equal(dumpExpected, dumpActual);
+        assert.equal(dumpActual, dumpExpected);
       });
 
       test('getSynonymSync, existent', function() {
-------------- next part --------------
HTML����������������������������...
Download 



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