Sha256: 1396e5b7f4ab1584fcbb0869984df0c209082ff00f9efe76a4d40a87c63e7f7a

Contents?: true

Size: 346 Bytes

Versions: 1

Compression:

Stored size: 346 Bytes

Contents

# frozen_string_literal: true

module Minitest
  class MultipleAssertionError < Minitest::Assertion
    attr_reader :location

    def initialize(msg = nil, location: nil, result_label: nil)
      super(msg)
      @location = location
      @result_label = result_label
    end

    def result_label
      @result_label || super
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aggregate_assertions-0.1.0.pre0 lib/aggregate_assertions/error.rb