remove Kernel class for clarification

since it was a class it was fake anyway
moved methods to object
This commit is contained in:
Torsten Ruger
2018-04-02 17:06:31 +03:00
parent 87eee0b66e
commit 9fafbe4e96
9 changed files with 80 additions and 94 deletions

View File

@ -8,7 +8,7 @@ class TestSpace < MiniTest::Test
end
def classes
[:Kernel,:Word,:List,:Message,:NamedList,:Type,:Object,:Class,:Dictionary,:TypedMethod , :Integer]
[:Word,:List,:Message,:NamedList,:Type,:Object,:Class,:Dictionary,:TypedMethod , :Integer]
end
def test_booted

View File

@ -77,6 +77,6 @@ class TestMethodApi < MiniTest::Test
assert_equal :foo , @try_class.instance_type.get_method( :foo ).name
end
def test_resolve_fail
assert_nil object_type.resolve_method( :foo )
assert_nil object_type.resolve_method( :foo )
end
end