From caae14d90b3ae75f97913cd5420bd236a4eeb0f8 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 25 Dec 2020 15:57:41 +0900 Subject: test_trick.rb: Make the encoding explicit for code written in UTF-8 --- test/test_trick.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_trick.rb') diff --git a/test/test_trick.rb b/test/test_trick.rb index c61a53f7b6..43dc2364da 100644 --- a/test/test_trick.rb +++ b/test/test_trick.rb @@ -154,7 +154,7 @@ class TestTRICK2018 < Test::Unit::TestCase def test_04_colin src = File.join(__dir__, "../sample/trick2018/04-colin/entry.rb") - code = "# encoding: UTF-8\n" + File.read(src) + <