Skip to content

Commit b8c820f

Browse files
committed
@test2_path force encoding to utf-8
1 parent 1280fd4 commit b8c820f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-base/test_base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def create_file(script_name, lines)
141141

142142
def create_test2(lines)
143143
@test2_name = "test2.rb"
144-
@test2_path = create_file(@test2_name, lines)
144+
@test2_path = create_file(@test2_name, lines).force_encoding(Encoding::UTF_8)
145145
end
146146

147147
# Creates test.rb with the given lines, set up @test_name and @test_path

0 commit comments

Comments
 (0)