mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
require drb/eq.rb by default
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fb18f7c5f6
commit
92d34f3619
3 changed files with 5 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Fri Feb 27 01:00:09 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
||||||
|
|
||||||
|
* lib/drb/drb.rb, test/drb/drbtest.rb: require drb/eq.rb by default
|
||||||
|
|
||||||
Wed Feb 25 21:16:25 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Wed Feb 25 21:16:25 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* instruby.rb (with_destdir): should return the given argument if no
|
* instruby.rb (with_destdir): should return the given argument if no
|
||||||
|
|
|
@ -54,6 +54,7 @@
|
||||||
require 'socket'
|
require 'socket'
|
||||||
require 'thread'
|
require 'thread'
|
||||||
require 'fcntl'
|
require 'fcntl'
|
||||||
|
require 'drb/eq'
|
||||||
|
|
||||||
#
|
#
|
||||||
# == Overview
|
# == Overview
|
||||||
|
|
|
@ -140,10 +140,6 @@ module DRbCore
|
||||||
a = @there.to_a[0]
|
a = @there.to_a[0]
|
||||||
b = @there.to_a[0]
|
b = @there.to_a[0]
|
||||||
assert(a.object_id != b.object_id)
|
assert(a.object_id != b.object_id)
|
||||||
assert(a != b)
|
|
||||||
assert(a.hash != b.hash)
|
|
||||||
assert(! a.eql?(b))
|
|
||||||
require 'drb/eq'
|
|
||||||
assert(a == b)
|
assert(a == b)
|
||||||
assert_equal(a, b)
|
assert_equal(a, b)
|
||||||
assert(a == @there)
|
assert(a == @there)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue