align method compiler test names
This commit is contained in:
parent
66f359a14f
commit
d94af2a724
@ -1,14 +1,13 @@
|
||||
#statements
|
||||
require_relative "test_assign"
|
||||
require_relative "test_assignment"
|
||||
require_relative "test_call_site"
|
||||
require_relative "test_class"
|
||||
require_relative "test_fields"
|
||||
require_relative "test_if"
|
||||
require_relative "test_return"
|
||||
require_relative "test_while"
|
||||
require_relative "test_if_statement"
|
||||
require_relative "test_return_statement"
|
||||
require_relative "test_while_statement"
|
||||
#expressions
|
||||
require_relative "test_basic"
|
||||
require_relative "test_call"
|
||||
require_relative "test_basic_values"
|
||||
require_relative "test_field_access"
|
||||
require_relative "test_ops"
|
||||
require_relative "test_vars"
|
||||
require_relative "test_operator_expression"
|
||||
require_relative "test_name_expression"
|
||||
|
@ -1,4 +1,5 @@
|
||||
require_relative 'helper'
|
||||
require_relative "test_call_expression"
|
||||
|
||||
module Register
|
||||
class TestCallStatement < MiniTest::Test
|
||||
|
@ -8,13 +8,6 @@ class TestClassStatements < MiniTest::Test
|
||||
clean_compile :Bar, :buh, {}, s(:statements, s(:return, s(:int, 1)))
|
||||
end
|
||||
|
||||
def test_class_defs
|
||||
class_def
|
||||
@input =s(:statements, s(:return, s(:int, 1)))
|
||||
@expect = [Label, LoadConstant,RegToSlot,Label,FunctionReturn]
|
||||
check
|
||||
end
|
||||
|
||||
def test_class_call
|
||||
#FIXME class call
|
||||
# class_def
|
||||
|
Loading…
Reference in New Issue
Block a user