Skip to content

Commit 16713ee

Browse files
headiuseregon
authored andcommitted
Confirm the new string is actually mutable
1 parent 182acd5 commit 16713ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/string/uplus_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
output.should_not.frozen?
99
output.should == 'foo'
10+
11+
output << 'bar'
12+
output.should == 'foobar'
1013
end
1114

1215
it 'returns self if the String is not frozen' do

0 commit comments

Comments
 (0)