From 1f328a45c37a8b9d960404347ed586b009902aa0 Mon Sep 17 00:00:00 2001 From: CrossNox Date: Mon, 28 Nov 2022 10:14:22 -0300 Subject: [PATCH] fix test --- test/rustint/core_test.clj | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/test/rustint/core_test.clj b/test/rustint/core_test.clj index f2fe527..a4bc5f0 100644 --- a/test/rustint/core_test.clj +++ b/test/rustint/core_test.clj @@ -609,7 +609,7 @@ ) ) -(deftest test-cargar-const-en-tabla-01 + (deftest test-cargar-const-en-tabla-01 (testing "Test 01 cargar-const-en-tabla" (is (= (cargar-const-en-tabla [ @@ -637,6 +637,9 @@ ) ) +[; (fn main ( ) { println! ( "{}" , TRES ) }) [use std :: io ; const TRES : i64 = 3] :sin-errores [[0] [[io [lib ()] 0] [[0] [[io [lib ()] 0]] [TRES [const i64] 3]]]] 0 [[CAL 0] HLT] []] +[; (fn main ( ) { println! ( "{}" , TRES ) }) [use std :: io ; const TRES : i64 = 3] :sin-errores [[0] [[io [lib ()] 0] [TRES [const i64] 3]]] 0 [[CAL 0] HLT] []] + (deftest test-cargar-const-en-tabla-02 (testing "Test 02 cargar-const-en-tabla" (is (= @@ -645,7 +648,10 @@ (list 'fn 'main (symbol "(") (symbol ")") (symbol "{") 'println! (symbol "(") "{}" (symbol ",") 'TRES (symbol ")") (symbol "}")) ['use 'std (symbol "::") 'io (symbol ";") 'const 'TRES (symbol ":") 'i64 (symbol "=") 3] :sin-errores - [[0] [['io ['lib '()] 0]]] + [[0] [ + ['io ['lib '()] 0] + ] + ] 0 [['CAL 0] 'HLT] [] @@ -656,7 +662,11 @@ (list 'fn 'main (symbol "(") (symbol ")") (symbol "{") 'println! (symbol "(") "{}" (symbol ",") 'TRES (symbol ")") (symbol "}")) ['use 'std (symbol "::") 'io (symbol ";") 'const 'TRES (symbol ":") 'i64 (symbol "=") 3] :sin-errores - [[0] [['io ['lib '()] 0] ['TRES ['const 'i64] 3]]] + [[0] [ + ['io ['lib '()] 0] + ['TRES ['const 'i64] 3] + ] + ] 0 [['CAL 0] 'HLT] []