Skip to content

Commit

Permalink
Confirm the new string is actually mutable
Browse files Browse the repository at this point in the history
  • Loading branch information
headius authored and eregon committed Oct 30, 2023
1 parent 182acd5 commit 16713ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/string/uplus_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

output.should_not.frozen?
output.should == 'foo'

output << 'bar'
output.should == 'foobar'
end

it 'returns self if the String is not frozen' do
Expand Down

0 comments on commit 16713ee

Please sign in to comment.