Skip to content

Commit 8add5c1

Browse files
committed
fix test failure
1 parent d841bcf commit 8add5c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/node_query/node_rules/parser_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def initialize(id, name)
195195
)
196196
expect {
197197
rules.query_nodes(node)
198-
}.to raise_error(NodeQuery::MethodNotSupported, '{:type=>"sym"} is not supported')
198+
}.to raise_error(NodeQuery::MethodNotSupported, '{type: "sym"} is not supported')
199199
end
200200

201201
it 'sets option including_self to false' do

0 commit comments

Comments
 (0)