diff --git a/test/unit/tc_grep.rb b/test/unit/tc_grep.rb index c15199cf8..b6a4011dc 100644 --- a/test/unit/tc_grep.rb +++ b/test/unit/tc_grep.rb @@ -19,7 +19,7 @@ require 'webrick' class TC_Grep < Test::Unit::TestCase def test_grep_eval - Dir['../../../**/*.rb'].each do |path| + Dir['../../**/*.rb'].each do |path| File.open( path ) do |f| next if /tc_grep.rb/.match(path) # skip this file f.grep( /\Weval\W/im ) do |line|