summaryrefslogtreecommitdiff
path: root/spec/ruby/language/fixtures/hash_strings_binary.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/language/fixtures/hash_strings_binary.rb')
-rw-r--r--spec/ruby/language/fixtures/hash_strings_binary.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/ruby/language/fixtures/hash_strings_binary.rb b/spec/ruby/language/fixtures/hash_strings_binary.rb
new file mode 100644
index 0000000000..44b99cbf80
--- /dev/null
+++ b/spec/ruby/language/fixtures/hash_strings_binary.rb
@@ -0,0 +1,7 @@
+# encoding: binary
+
+module HashStringsBinary
+ def self.literal_hash
+ {"foo" => "bar"}
+ end
+end