diff --git a/spec/node_query/node_rules/parser_spec.rb b/spec/node_query/node_rules/parser_spec.rb index ab40c72..5694ba3 100644 --- a/spec/node_query/node_rules/parser_spec.rb +++ b/spec/node_query/node_rules/parser_spec.rb @@ -194,11 +194,12 @@ def initialize(id, name) adapter: adapter ) - expected_error_message = if RUBY_VERSION >= '3.4.0' - '{type: "sym"} is not supported' - else - '{:type=>"sym"} is not supported' - end + expected_error_message = + if RUBY_VERSION >= '3.4.0' + '{type: "sym"} is not supported' + else + '{:type=>"sym"} is not supported' + end expect { rules.query_nodes(node)