summaryrefslogtreecommitdiff
path: root/spec/rubyspec/core/array/fixtures/encoded_strings.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/core/array/fixtures/encoded_strings.rb')
-rw-r--r--spec/rubyspec/core/array/fixtures/encoded_strings.rb69
1 files changed, 0 insertions, 69 deletions
diff --git a/spec/rubyspec/core/array/fixtures/encoded_strings.rb b/spec/rubyspec/core/array/fixtures/encoded_strings.rb
deleted file mode 100644
index e31e247afe..0000000000
--- a/spec/rubyspec/core/array/fixtures/encoded_strings.rb
+++ /dev/null
@@ -1,69 +0,0 @@
-# encoding: utf-8
-module ArraySpecs
- def self.array_with_usascii_and_7bit_utf8_strings
- [
- 'foo'.force_encoding('US-ASCII'),
- 'bar'
- ]
- end
-
- def self.array_with_usascii_and_utf8_strings
- [
- 'foo'.force_encoding('US-ASCII'),
- 'báz'
- ]
- end
-
- def self.array_with_7bit_utf8_and_usascii_strings
- [
- 'bar',
- 'foo'.force_encoding('US-ASCII')
- ]
- end
-
- def self.array_with_utf8_and_usascii_strings
- [
- 'báz',
- 'bar',
- 'foo'.force_encoding('US-ASCII')
- ]
- end
-
- def self.array_with_usascii_and_utf8_strings
- [
- 'foo'.force_encoding('US-ASCII'),
- 'bar',
- 'báz'
- ]
- end
-
- def self.array_with_utf8_and_7bit_ascii8bit_strings
- [
- 'bar',
- 'báz',
- 'foo'.force_encoding('ASCII-8BIT')
- ]
- end
-
- def self.array_with_utf8_and_ascii8bit_strings
- [
- 'bar',
- 'báz',
- [255].pack('C').force_encoding('ASCII-8BIT')
- ]
- end
-
- def self.array_with_usascii_and_7bit_ascii8bit_strings
- [
- 'bar'.force_encoding('US-ASCII'),
- 'foo'.force_encoding('ASCII-8BIT')
- ]
- end
-
- def self.array_with_usascii_and_ascii8bit_strings
- [
- 'bar'.force_encoding('US-ASCII'),
- [255].pack('C').force_encoding('ASCII-8BIT')
- ]
- end
-end