[Groonga-commit] groonga/groonga-query-log [master] test: fix typos

Back to archive index

Haruka Yoshihara null+****@clear*****
Mon Dec 17 15:15:07 JST 2012


Haruka Yoshihara	2012-12-17 15:15:07 +0900 (Mon, 17 Dec 2012)

  New Revision: e1e7b671a21bcab960be7269156750ef9d62dfc2
  https://github.com/groonga/groonga-query-log/commit/e1e7b671a21bcab960be7269156750ef9d62dfc2

  Log:
    test: fix typos
    
    fommated ->
    formatted

  Modified files:
    test/test-extractor.rb

  Modified: test/test-extractor.rb (+12 -12)
===================================================================
--- test/test-extractor.rb    2012-12-17 15:12:59 +0900 (f36e22e)
+++ test/test-extractor.rb    2012-12-17 15:15:07 +0900 (de70d9d)
@@ -121,26 +121,26 @@ EOL
 
     def test_command_format
       @extractor.options.unify_format = "command"
-      expected_fommated_command = "select --output_columns \"_key,name\""+
-                                    " --query \"follower:@groonga\"" +
-                                    " --table \"Users\"\n"
-      assert_equal(expected_fommated_command, extract)
+      expected_formatted_command = "select --output_columns \"_key,name\""+
+                                     " --query \"follower:@groonga\"" +
+                                     " --table \"Users\"\n"
+      assert_equal(expected_formatted_command, extract)
     end
 
     def test_uri_format
       @extractor.options.unify_format = "uri"
-      expected_fommated_command = "/d/select?output_columns=_key%2Cname" +
-                                    "&query=follower%3A%40groonga" +
-                                    "&table=Users\n"
-      assert_equal(expected_fommated_command, extract)
+      expected_formatted_command = "/d/select?output_columns=_key%2Cname" +
+                                     "&query=follower%3A%40groonga" +
+                                     "&table=Users\n"
+      assert_equal(expected_formatted_command, extract)
     end
 
     def test_not_unify
       @extractor.options.unify_format = nil
-      expected_fommated_command = "select --table Users" +
-                                    " --query follower:@groonga" +
-                                    " --output_columns _key,name\n"
-      assert_equal(expected_fommated_command, extract)
+      expected_formatted_command = "select --table Users" +
+                                     " --query follower:@groonga" +
+                                     " --output_columns _key,name\n"
+      assert_equal(expected_formatted_command, extract)
     end
 
     private
-------------- next part --------------
HTML����������������������������...
Download 



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