diff --git a/test/compiler/fragments/test_all.rb b/test/compiler/fragments/test_all.rb index ff94a47e..dc71ced6 100644 --- a/test/compiler/fragments/test_all.rb +++ b/test/compiler/fragments/test_all.rb @@ -8,3 +8,4 @@ require_relative "test_putint" require_relative "test_recursive_fibo" require_relative "test_return" require_relative "test_while_fibo" +require_relative "test_word" diff --git a/test/compiler/fragments/test_functions.rb b/test/compiler/fragments/test_functions.rb index e9e2b69e..8d144323 100644 --- a/test/compiler/fragments/test_functions.rb +++ b/test/compiler/fragments/test_functions.rb @@ -29,7 +29,37 @@ class Object end end HERE - @length = 486 - check_return 80 + @length = 486 + check_return 80 + end + + def test_class_method + @string_input = <