finally fixes the builder

This commit is contained in:
2020-03-02 20:38:36 +02:00
parent db5a59f735
commit fd43fc9e5c
3 changed files with 9 additions and 81 deletions

View File

@ -14,7 +14,7 @@ module Risc
end
def test_allocate_returns
int = @builder.allocate_int
assert_equal :integer_tmp , int.symbol
assert int.symbol.to_s.split(".").first.start_with?("id_")
end
def test_allocate_len
int = @builder.allocate_int