summaryrefslogtreecommitdiff
path: root/spec/ruby/core/regexp/shared
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2025-05-16 20:04:34 +0900
committerNobuyoshi Nakada <[email protected]>2025-05-16 20:04:34 +0900
commit9cec38c1605131068a9700c8e6125284d686a3e8 (patch)
tree71dfee7d2f26ef7475c2ae144caebfe0f5a16247 /spec/ruby/core/regexp/shared
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/regexp/shared')
-rw-r--r--spec/ruby/core/regexp/shared/new.rb2
-rw-r--r--spec/ruby/core/regexp/shared/quote.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/regexp/shared/new.rb b/spec/ruby/core/regexp/shared/new.rb
index 44b339100e..921736d299 100644
--- a/spec/ruby/core/regexp/shared/new.rb
+++ b/spec/ruby/core/regexp/shared/new.rb
@@ -1,4 +1,4 @@
-# -*- encoding: binary -*-
+# encoding: binary
describe :regexp_new, shared: true do
it "requires one argument and creates a new regular expression object" do
diff --git a/spec/ruby/core/regexp/shared/quote.rb b/spec/ruby/core/regexp/shared/quote.rb
index 48179444f0..3f46a18b5b 100644
--- a/spec/ruby/core/regexp/shared/quote.rb
+++ b/spec/ruby/core/regexp/shared/quote.rb
@@ -1,4 +1,4 @@
-# -*- encoding: binary -*-
+# encoding: binary
describe :regexp_quote, shared: true do
it "escapes any characters with special meaning in a regular expression" do