Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.268 kB
class TestGemAnalyzer < MiniTest::Unit::TestCase
def test_finds_usage_of___FILE__
assert_raises Gem::Analyzer::Warning do
Gem::Analyzer.new("__FILE__").parse
end
assert_block do
Gem::Analyzer.new("puts '__FILE__'").parse
end
end
end
Jump to Line
Something went wrong with that request. Please try again.