diff options
author | Eduardo Julian | 2017-06-30 18:43:07 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-06-30 18:43:07 -0400 |
commit | a79927892174c3564c83a0e741e5cc0aaaeeb37c (patch) | |
tree | 780936163414dd6105cf00bb5debb8ee9a7a518a /new-luxc/test | |
parent | 36cf0c61991bda395e224fa2d435fa6b6f5090e5 (diff) |
- WIP: Added generation for common procedures.
Diffstat (limited to 'new-luxc/test')
-rw-r--r-- | new-luxc/test/test/luxc/generator/primitive.lux | 3 | ||||
-rw-r--r-- | new-luxc/test/test/luxc/generator/structure.lux | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/new-luxc/test/test/luxc/generator/primitive.lux b/new-luxc/test/test/luxc/generator/primitive.lux index 53b455812..b1ea17f95 100644 --- a/new-luxc/test/test/luxc/generator/primitive.lux +++ b/new-luxc/test/test/luxc/generator/primitive.lux @@ -15,6 +15,7 @@ [analyser] [synthesizer] (generator ["@" expr] + ["@;" runtime] ["@;" eval] ["@;" common])) (test/luxc common)) @@ -50,7 +51,7 @@ (|> (@eval;eval (@;generate #ls;Unit)) (macro;run (init-compiler [])) (case> (#R;Success valueG) - (is @common;unit (:! Text valueG)) + (is @runtime;unit (:! Text valueG)) _ false))) diff --git a/new-luxc/test/test/luxc/generator/structure.lux b/new-luxc/test/test/luxc/generator/structure.lux index 817052eff..1fcba59d4 100644 --- a/new-luxc/test/test/luxc/generator/structure.lux +++ b/new-luxc/test/test/luxc/generator/structure.lux @@ -40,7 +40,7 @@ (-> [ls;Synthesis Top] Bool) (case prediction #ls;Unit - (is @common;unit (:! Text sample)) + (is @runtime;unit (:! Text sample)) (^template [<tag> <type> <test>] (<tag> prediction') |