summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/pack/shared/string.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-05-16 20:04:34 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2025-05-16 20:04:34 +0900
commit9cec38c1605131068a9700c8e6125284d686a3e8 (patch)
tree71dfee7d2f26ef7475c2ae144caebfe0f5a16247 /spec/ruby/core/array/pack/shared/string.rb
parenta0fe0095ab2711ba54b29cdd2a5957f993cfc1de (diff)
"binary" is not valid encoding name in Emacs
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13361
Diffstat (limited to 'spec/ruby/core/array/pack/shared/string.rb')
-rw-r--r--spec/ruby/core/array/pack/shared/string.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/array/pack/shared/string.rb b/spec/ruby/core/array/pack/shared/string.rb
index 2f70dc3951..805f78b53b 100644
--- a/spec/ruby/core/array/pack/shared/string.rb
+++ b/spec/ruby/core/array/pack/shared/string.rb
@@ -1,4 +1,4 @@
-# -*- encoding: binary -*-
+# encoding: binary
describe :array_pack_string, shared: true do
it "adds count bytes of a String to the output" do
["abc"].pack(pack_format(2)).should == "ab"