1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Move spec/rubyspec to spec/ruby for consistency

* Other ruby implementations use the spec/ruby directory.
  [Misc #13792] [ruby-core:82287]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eregon 2017-09-20 20:18:52 +00:00
parent 75bfc6440d
commit 1d15d5f080
4370 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1 @@
f {

View file

@ -0,0 +1,3 @@
@@@This line is not value Ruby
#!rub_y
puts 'success'

View file

@ -0,0 +1 @@
raise 'die'

View file

@ -0,0 +1,3 @@
@@@This line is not value Ruby
#!ruby
puts 'success'

View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
exec somehow this file
#!ruby
puts 'success'

View file

@ -0,0 +1,2 @@
#!ruby
puts 'success'

View file

@ -0,0 +1,5 @@
1
2
3
4
5

View file

@ -0,0 +1,12 @@
which = ARGV.shift.to_i
case which
when 0
p $n
when 1
puts $n
when 2
puts $_name
when 3
puts $___name__test__
end

View file

@ -0,0 +1 @@
print Dir.pwd

View file

@ -0,0 +1,10 @@
which = ARGV.first.to_i
case which
when 0
puts "$DEBUG #{$DEBUG}"
when 1
puts "$VERBOSE #{$VERBOSE}"
when 2
puts "$-d #{$-d}"
end

View file

@ -0,0 +1,11 @@
# frozen_string_literal: true
a = 'string'
b = a
c = b
d = c
e = d
begin
a << 'new part'
rescue Exception => e
print e.message
end

View file

@ -0,0 +1,3 @@
require_relative 'freeze_flag_required'
p "abc".object_id == $second_literal_id

View file

@ -0,0 +1,3 @@
require_relative 'freeze_flag_required_diff_enc'
p "abc".object_id != $second_literal_id

View file

@ -0,0 +1,2 @@
ids = Array.new(2) { "abc".object_id }
p ids.first == ids.last

View file

@ -0,0 +1 @@
$second_literal_id = "abc".object_id

View file

@ -0,0 +1 @@
p "abc".object_id == "abc".object_id

View file

@ -0,0 +1,3 @@
alice jones
bob field
james grey

View file

@ -0,0 +1 @@
puts $:

View file

@ -0,0 +1,3 @@
alice
bob
james

View file

@ -0,0 +1,3 @@
nobody:*:-2:-2:Unprivileged User:/var/empty:/usr/bin/false
root:*:0:0:System Administrator:/var/root:/bin/sh
daemon:*:1:1:System Services:/var/root:/usr/bin/false

View file

@ -0,0 +1 @@
puts $"

View file

@ -0,0 +1 @@
puts "rubyopt.rb required"

View file

@ -0,0 +1 @@
"test file"

View file

@ -0,0 +1 @@
puts $VERBOSE.inspect