summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/json_encoding_test.rb1
-rw-r--r--tests/json_parser_test.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/json_encoding_test.rb b/tests/json_encoding_test.rb
index 86335a1..c220f90 100644
--- a/tests/json_encoding_test.rb
+++ b/tests/json_encoding_test.rb
@@ -1,3 +1,4 @@
+# encoding: utf-8
require 'test_helper'
class JSONEncodingTest < Test::Unit::TestCase
diff --git a/tests/json_parser_test.rb b/tests/json_parser_test.rb
index b21e7ec..1123aab 100644
--- a/tests/json_parser_test.rb
+++ b/tests/json_parser_test.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'test_helper'
require 'stringio'
require 'tempfile'