Skip to content

Commit da08930

Browse files
committed
Fix broken tests for Ruby 3.4+
1 parent 8d517e8 commit da08930

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-3.2.2
1+
ruby-3.3.0

spec/lib/glimmer/dsl/engine_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ module GlimmerSpec
5757
}
5858
}
5959

60-
expect(@target.to_s).to eq('SWT shell { SWT Dynamic browser(XML html { XML Dynamic body { XML Dynamic input({:type=>"text", :value=>"Hello, World!"}) } }) }')
61-
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!"}) } }) }')
60+
expect(@target.to_s).to eq("SWT shell { SWT Dynamic browser(XML html { XML Dynamic body { XML Dynamic input(#{{type: 'text', value: 'Hello, World!'}.to_s}) } }) }")
61+
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!'}.to_s}) } }) }")
6262
end
6363

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

0 commit comments

Comments
 (0)