From 14fa8662f56ff93dc70a0154350d392a4b3a29e9 Mon Sep 17 00:00:00 2001 From: Marc Siegel Date: Fri, 27 Dec 2013 15:21:01 -0500 Subject: [PATCH] Fix test on 1.9.x by adding magic file encoding comment --- spec/process_shared/shared_memory_io_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/process_shared/shared_memory_io_spec.rb b/spec/process_shared/shared_memory_io_spec.rb index 7fcb26a..2c31173 100644 --- a/spec/process_shared/shared_memory_io_spec.rb +++ b/spec/process_shared/shared_memory_io_spec.rb @@ -1,3 +1,7 @@ +# encoding: UTF-8 +# ^^^ +# NOTE: This magic comment is necessary for the UTF-8 string literal below +# on Ruby 1.9.x require 'spec_helper' require 'process_shared'