mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
2000-05-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
acbb1c9434
commit
fedf48986d
69 changed files with 1841 additions and 1455 deletions
|
@ -694,7 +694,11 @@ $x.each_byte {|i|
|
|||
}
|
||||
ok(!$bad)
|
||||
|
||||
check "asignment"
|
||||
s = "a string"
|
||||
s[0..s.size]="another string"
|
||||
ok(s == "another string")
|
||||
|
||||
check "assignment"
|
||||
a = nil
|
||||
ok(defined?(a))
|
||||
ok(a == nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue