Skip to content

Commit 4a8801c

Browse files
committed
Simplify
1 parent 2d1822c commit 4a8801c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spec/ruby/core/io/shared/write.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@
149149
end
150150

151151
result = File.binread(@transcode_filename)
152-
expected = [104, 101, 108, 108, 111] # UTF-8 bytes for "hello", not transcoded to UTF-16BE
153-
154-
result.bytes.should == expected
152+
result.bytes.should == utf8_str.bytes
155153
end
156154
end

0 commit comments

Comments
 (0)