Skip to content

Commit a051370

Browse files
tompngkou
andauthored
Tweak test method and variable name
Co-authored-by: Sutou Kouhei <[email protected]>
1 parent acaaa6e commit a051370

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/stringio/test_stringio.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -922,9 +922,9 @@ def test_encoding_write
922922
assert_equal("abc".encode("utf-32be"), s.string)
923923
end
924924

925-
def test_write_str_modify
926-
seek_pos = [0, 2, 4, 6]
927-
seek_pos.each do |pos|
925+
def test_write_code_range
926+
seek_poses = [0, 2, 4, 6]
927+
seek_poses.each do |pos|
928928
s = StringIO.new('abcd')
929929
s.seek(pos)
930930
s.write("\xff\xff\xff")

0 commit comments

Comments
 (0)