[Groonga-commit] groonga/groonga-test [master] Invert order of expected and actual

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 2日 (金) 17:57:17 JST


Kouhei Sutou	2012-03-02 17:57:17 +0900 (Fri, 02 Mar 2012)

  New Revision: ffcfc9665383442f5142dac9010d36eccc5eae45

  Log:
    Invert order of expected and actual
    
    FROM diff will be colorlized by red. It's a better color for actual value.

  Modified files:
    bin/groonga-test

  Modified: bin/groonga-test (+2 -2)
===================================================================
--- bin/groonga-test    2012-03-02 17:53:47 +0900 (dfd0cf3)
+++ bin/groonga-test    2012-03-02 17:57:17 +0900 (70ed159)
@@ -215,8 +215,8 @@ class GroongaTester
       create_temporary_file("expected", expected) do |expected_file|
         create_temporary_file("actual", actual) do |actual_file|
           diff_options =****@teste*****_options.dup
-          diff_options.concat(["--label", "(expected)", expected_file.path,
-                               "--label", "(actual)", actual_file.path])
+          diff_options.concat(["--label", "(actual)", actual_file.path,
+                               "--label", "(expected)", expected_file.path])
           system(@tester.diff, *diff_options)
         end
       end




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