File: matcher_helpers.rb

package info (click to toggle)
ruby-bourne 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 208 kB
  • ctags: 261
  • sloc: ruby: 1,353; makefile: 5
file content (5 lines) | stat: -rw-r--r-- 148 bytes parent folder | download | duplicates (4)
1
2
3
4
5
class Test::Unit::TestCase
  def assert_matcher_accepts(matcher, instance)
    assert matcher.matches?(instance), matcher.failure_message
  end
end