# File test/bin/test_grep.rb, line 92 def test_main_0301 tempfile1 = create_tempfile("abcde\nfghij") tempfile2 = create_tempfile("ABCDE\nFGHIJ") @obj.main(["ghi", tempfile1.path, tempfile2.path]) assert_equal("fghij\n", @string_io.string) tempfile1.close tempfile2.close end