diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-12 09:28:50 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-12 09:28:50 +0000 |
| commit | 2fbaf02ed3919483c16aad9a8714044a52de43cd (patch) | |
| tree | 112f4a6b760190c822c6771f77727436cb87fd7a /sample | |
| parent | f9cdbb288e53cbde31fc01b34d488a4a474d9eb0 (diff) | |
| download | ruby-2fbaf02ed3919483c16aad9a8714044a52de43cd.tar.gz ruby-2fbaf02ed3919483c16aad9a8714044a52de43cd.tar.xz ruby-2fbaf02ed3919483c16aad9a8714044a52de43cd.zip | |
* regex.c (re_compile_pattern): '\0111' should be '\011' plus '1',
since octal literals are formed by three digits at most.
* marshal.c (w_object): module inclusion using extend() should
also be detected.
* eval.c (rb_eval_cmd): cbase should not be NULL; it should be
either ruby_wrapper or Object.
* enum.c (enum_each_with_index): should return self.
* process.c (proc_setpgrp): should return value for non-void function.
* process.c (proc_getpgid): should raise exception if getpgid() return -1.
* string.c (rb_str_ljust): should return a duplicated string.
* string.c (rb_str_rjust): ditto.
* string.c (rb_str_center): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
| -rw-r--r-- | sample/test.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sample/test.rb b/sample/test.rb index 1f6b14095..82b159a7b 100644 --- a/sample/test.rb +++ b/sample/test.rb @@ -1351,17 +1351,6 @@ atlas = Titans.new test_ok(atlas.ruler0 == "Cronus") test_ok(atlas.ruler3 == "Zeus") -class <<a="a" - def foo=(n) - @@cv=n - end - def foo - @@cv - end -end -a.foo=5 -test_ok(a.foo == 5) - test_check "trace" $x = 1234 $y = 0 |
