From 9d0b264b793c948d18526d706f9f8007fe4efeed Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Mon, 26 Oct 2015 17:23:35 +0200 Subject: [PATCH] minors --- lib/soml/compiler/function_definition.rb | 2 +- test/compiler/statements/test_class.rb | 2 +- test/parfait/test_all.rb | 18 +++++++------- test/register/test_all.rb | 2 +- test/register/test_machine.rb | 31 ------------------------ 5 files changed, 12 insertions(+), 43 deletions(-) delete mode 100644 test/register/test_machine.rb diff --git a/lib/soml/compiler/function_definition.rb b/lib/soml/compiler/function_definition.rb index f707ea90..9649ab95 100644 --- a/lib/soml/compiler/function_definition.rb +++ b/lib/soml/compiler/function_definition.rb @@ -16,7 +16,7 @@ module Soml if(receiver ) if( receiver.first == :self) #class method class_method = @clazz - @clazz = @clazz.meta_class + @clazz = @clazz.meta else raise "Not covered #{receiver}" end diff --git a/test/compiler/statements/test_class.rb b/test/compiler/statements/test_class.rb index 0ee08deb..2352a3d1 100644 --- a/test/compiler/statements/test_class.rb +++ b/test/compiler/statements/test_class.rb @@ -4,7 +4,7 @@ module Register class TestBasicClass < MiniTest::Test include Statements - def pest_class_def + def test_class_def @string_input = <