generalize assemblers to use callables
not just methods, they are almost the same anyway
This commit is contained in:
@ -14,7 +14,7 @@ module RubyX
|
||||
assert_equal Risc::Linker , @linker.class
|
||||
end
|
||||
def test_method
|
||||
assert_equal :main , @linker.assemblers.first.method.name
|
||||
assert_equal :main , @linker.assemblers.first.callable.name
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user