Commit 39bf2941 authored by Masaki Muranaka's avatar Masaki Muranaka

Add "Comparable" to labels.

parent e129a4c8
assert('<', '15.3.3.2.1') do
assert('Comparable#<', '15.3.3.2.1') do
class Foo
include Comparable
def <=>(x)
......@@ -10,7 +10,7 @@ assert('<', '15.3.3.2.1') do
(Foo.new < Foo.new) == false
end
assert('<=', '15.3.3.2.2') do
assert('Comparable#<=', '15.3.3.2.2') do
class Foo
include Comparable
def <=>(x)
......@@ -21,7 +21,7 @@ assert('<=', '15.3.3.2.2') do
(Foo.new <= Foo.new) == true
end
assert('==', '15.3.3.2.3') do
assert('Comparable#==', '15.3.3.2.3') do
class Foo
include Comparable
def <=>(x)
......@@ -32,7 +32,7 @@ assert('==', '15.3.3.2.3') do
(Foo.new == Foo.new) == true
end
assert('>', '15.3.3.2.4') do
assert('Comparable#>', '15.3.3.2.4') do
class Foo
include Comparable
def <=>(x)
......@@ -43,7 +43,7 @@ assert('>', '15.3.3.2.4') do
(Foo.new > Foo.new) == false
end
assert('>=', '15.3.3.2.5') do
assert('Comparable#>=', '15.3.3.2.5') do
class Foo
include Comparable
def <=>(x)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment