Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 13 lines (11 sloc) 0.259 kB
a13b22a @vincentisambart splitted test_roxor.rb in multiple files
vincentisambart authored
1 assert "42", "$foo = 42; alias $bar $foo; p $bar"
2 assert "nil", "alias $bar $foo; p $bar"
3
4 assert "42", "def foo; 42; end; alias :bar :foo; p bar"
58c1b09 @alloy Added failing test_vm test about method_defined? for an aliased method
alloy authored
5
3f83ae8 @alloy Marked a few test_vm tests as Mocha TODO's and added it to the TODO. …
alloy authored
6 # Mocha TODO
58c1b09 @alloy Added failing test_vm test about method_defined? for an aliased method
alloy authored
7 assert "true", %{
8 class X
9 def foo; end
10 alias bar foo
11 end
12 p X.method_defined?(:bar)
13 }
Something went wrong with that request. Please try again.