Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (9 sloc) 0.326 kB
require File.expand_path '../helper', __FILE__
class RecursionTest < Test::Unit::TestCase
should "not allow infinite recursion" do
hash = {:a => :a}
hash[:hash] = hash
notice = Airbrake::Notice.new(:parameters => hash)
assert_equal "[possible infinite recursion halted]", notice.parameters[:hash]
end
end
Jump to Line
Something went wrong with that request. Please try again.