Module: Treebis::Test::TestGlobMatcher
- Included in:
- TestCase
- Defined in:
- lib/treebis.rb
Instance Method Summary collapse
Instance Method Details
#test_glob_matcher ⇒ Object
1264 1265 1266 1267 1268 1269 1270 1271 |
# File 'lib/treebis.rb', line 1264 def test_glob_matcher obj = Object.new obj.extend Treebis::DirAsHash::Blacklist::MatcherFactory err = assert_raises(RuntimeError) do obj.create_matcher(false) end assert_equal "can't build matcher from false", err. end |