File: test_helper.rb

package info (click to toggle)
ruby-perfect-toml 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 224 kB
  • sloc: ruby: 1,929; makefile: 4
file content (9 lines) | stat: -rw-r--r-- 178 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
require "perfect_toml"

require "test-unit"

module Test::Unit::Assertions
  def assert_parse_error(msg, &blk)
    assert_raise(PerfectTOML::ParseError.new(msg), &blk)
  end
end