lib/assert_same.rb in assert_same-0.7.0 vs lib/assert_same.rb in assert_same-0.7.1

- old
+ new

@@ -67,10 +67,10 @@ test_unit_module.module_eval do #Hash[filename][line_number] = offset #For each line in the original file we store its offset (+N or -N lines) #relative to the actual file - @@file_offsets = Hash.new { |hash, key| hash[key] = {} } + class_variable_set(:@@file_offsets, Hash.new { |hash, key| hash[key] = {} }) # assert_same: assert which checks that two strings (expected and actual) are same # and which can "magically" replace expected value with the actual in case # the new behavior (and new actual value) is correct #