test/unit/hygiene_test.rb in iqvoc-4.0.6 vs test/unit/hygiene_test.rb in iqvoc-4.0.7

- old
+ new

@@ -24,13 +24,9 @@ tab = "\t" space = " " assert_no_occurrence "#{space}#{tab}\|#{tab}#{space}", "mixed whitespace", true end - test "quotation mark consistency" do - assert_no_occurrence '^require "', "`require` should use single quotes" - end - def assert_no_occurrence(pattern, error_message, extended=false) extra_options = extended ? "E" : "" lines = `git grep -In#{extra_options} '#{pattern}' | grep -v '^vendor/'` assert_not_equal 0, $?.to_i, "#{error_message}:\n#{lines}" end