lib/aggregate_assertions/error.rb in aggregate_assertions-0.1.0.pre0 vs lib/aggregate_assertions/error.rb in aggregate_assertions-0.1.0
- old
+ new
@@ -1,8 +1,9 @@
# frozen_string_literal: true
module Minitest
+ # Error raised when multiple assertions are grouped together.
class MultipleAssertionError < Minitest::Assertion
attr_reader :location
def initialize(msg = nil, location: nil, result_label: nil)
super(msg)
@@ -12,6 +13,6 @@
def result_label
@result_label || super
end
end
-end
\ No newline at end of file
+end