testing for arrays in all the wrong places

This commit is contained in:
Torsten Ruger
2017-09-07 08:17:13 +03:00
parent b5ca886069
commit 9189e56e77
7 changed files with 22 additions and 1 deletions

View File

@ -9,6 +9,9 @@ module Vool
@stats = compile_first_method( "5.mod4").first
end
def test_compiles_not_array
assert Array != @stats.class , @stats
end
def test_class_compiles
assert_equal Mom::SlotConstant , @stats.first.class , @stats
end