summaryrefslogtreecommitdiff
path: root/spec/ruby/shared/io/putc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/shared/io/putc.rb')
-rw-r--r--spec/ruby/shared/io/putc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/shared/io/putc.rb b/spec/ruby/shared/io/putc.rb
index 5f620f183f..b71443e219 100644
--- a/spec/ruby/shared/io/putc.rb
+++ b/spec/ruby/shared/io/putc.rb
@@ -1,4 +1,4 @@
-# -*- encoding: ascii-8bit -*-
+# -*- encoding: binary -*-
describe :io_putc, shared: true do
after :each do
@io.close if @io && !@io.closed?