[Groonga-commit] groonga/groonga-schema at cc4c87a [master] test: fix variable name

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Aug 8 13:41:52 JST 2016


Kouhei Sutou	2016-08-08 13:41:52 +0900 (Mon, 08 Aug 2016)

  New Revision: cc4c87a6543f567ed21fbbbab009c33a92a27ad3
  https://github.com/groonga/groonga-schema/commit/cc4c87a6543f567ed21fbbbab009c33a92a27ad3

  Message:
    test: fix variable name

  Modified files:
    test/test-differ.rb

  Modified: test/test-differ.rb (+9 -9)
===================================================================
--- test/test-differ.rb    2016-08-08 13:19:31 +0900 (cce47d3)
+++ test/test-differ.rb    2016-08-08 13:41:52 +0900 (4e6ccc0)
@@ -41,9 +41,9 @@ class DifferTest < Test::Unit::TestCase
       }
       @to.apply_command(table_create(arguments))
 
-      actual = GroongaSchema::Diff.new
-      actual.added_tables["Words"] =****@to*****["Words"]
-      assert_equal(actual, @differ.diff)
+      expected = GroongaSchema::Diff.new
+      expected.added_tables["Words"] =****@to*****["Words"]
+      assert_equal(expected, @differ.diff)
     end
 
     test "table - remove" do
@@ -57,9 +57,9 @@ class DifferTest < Test::Unit::TestCase
       }
       @from.apply_command(table_create(arguments))
 
-      actual = GroongaSchema::Diff.new
-      actual.removed_tables["Words"] =****@from*****["Words"]
-      assert_equal(actual, @differ.diff)
+      expected = GroongaSchema::Diff.new
+      expected.removed_tables["Words"] =****@from*****["Words"]
+      assert_equal(expected, @differ.diff)
     end
 
     test "table - change" do
@@ -75,9 +75,9 @@ class DifferTest < Test::Unit::TestCase
       @from.apply_command(table_create(from_arguments))
       @to.apply_command(table_create(to_arguments))
 
-      actual = GroongaSchema::Diff.new
-      actual.changed_tables["Words"] =****@to*****["Words"]
-      assert_equal(actual, @differ.diff)
+      expected = GroongaSchema::Diff.new
+      expected.changed_tables["Words"] =****@to*****["Words"]
+      assert_equal(expected, @differ.diff)
     end
   end
 end
-------------- next part --------------
HTML����������������������������...
Download 



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