Skip to content

Commit

Permalink
Fix broken tests for Ruby 3.4+
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyObtiva committed Mar 4, 2025
1 parent 8d517e8 commit 8324fb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-3.2.2
ruby-3.3.0
4 changes: 2 additions & 2 deletions spec/lib/glimmer/dsl/engine_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ module GlimmerSpec
}
}

expect(@target.to_s).to eq('SWT shell { SWT Dynamic browser(XML html { XML Dynamic body { XML Dynamic input({:type=>"text", :value=>"Hello, World!"}) } }) }')
expect(GLIMMER_TOP_LEVEL_TARGET.to_s).to eq('SWT shell { SWT Dynamic browser(XML html { XML Dynamic body { XML Dynamic input({:type=>"text", :value=>"Hello, World!"}) } }) }')
expect(@target.to_s).to eq("SWT shell { SWT Dynamic browser(XML html { XML Dynamic body { XML Dynamic input(#{{type: 'text', value: 'Hello, World!'}.inspect}) } }) }")
expect(GLIMMER_TOP_LEVEL_TARGET.to_s).to eq("SWT shell { SWT Dynamic browser(XML html { XML Dynamic body { XML Dynamic input(#{{type: 'text', value: 'Hello, World!'}.inspect}) } }) }")
end

it 'interprets another expression hierarchy in the middle of interpreting an expression hierarchy' do
Expand Down

0 comments on commit 8324fb6

Please sign in to comment.