File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def accept(data)
3333 end
3434
3535 def process_event ( event )
36- event [ "path" ] = path
36+ event . set ( "path" , path )
3737 @queue << event
3838 end
3939
@@ -129,10 +129,10 @@ def logger() @logger ||= MultilineLogTracer.new; end
129129
130130RSpec ::Matchers . define ( :match_path_and_line ) do |path , line |
131131 match do |actual |
132- actual [ "path" ] == path && actual [ "message" ] == line . join ( $/)
132+ actual . get ( "path" ) == path && actual . get ( "message" ) == line . join ( $/)
133133 end
134134
135135 failure_message do
136- "Expecting #{ actual [ 'path' ] } to equal `#{ path } ` and #{ actual [ "message" ] } to equal #{ line . join ( $/) } "
136+ "Expecting #{ actual . get ( 'path' ) } to equal `#{ path } ` and #{ actual . get ( "message" ) } to equal #{ line . join ( $/) } "
137137 end
138138end
You can’t perform that action at this time.
0 commit comments