Skip to content

Commit

Permalink
Auto corrected by following Format Ruby Code
Browse files Browse the repository at this point in the history
  • Loading branch information
Awesome Code committed Dec 29, 2024
1 parent 006db3a commit 6410d10
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions spec/node_query/node_rules/parser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6410d10

Please sign in to comment.