diff options
author | Eduardo Julian | 2021-02-22 01:46:40 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-02-22 01:46:40 -0400 |
commit | 565e7fae85379e4d2e4daacc51eb1f8796c738c1 (patch) | |
tree | a306f40f45be76359481a30cc7dc83f405c12716 /stdlib/source/test | |
parent | cfa75870e67e7759bba47f25b3fd7dd252f9341e (diff) |
Updates for PHP compiler.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/test/lux.lux | 6 | ||||
-rw-r--r-- | stdlib/source/test/lux/macro/template.lux | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/stdlib/source/test/lux.lux b/stdlib/source/test/lux.lux index a39671ea4..0379b8427 100644 --- a/stdlib/source/test/lux.lux +++ b/stdlib/source/test/lux.lux @@ -34,7 +34,7 @@ ["#." math] ["#." meta] ["#." time] - ## ["#." tool] + ## ["#." tool] ## TODO: Update & expand tests for this ["#." type] ["#." world] ["#." host] @@ -181,7 +181,9 @@ (n.= on_valid_host (for {@.old on_valid_host @.jvm on_valid_host - @.js on_valid_host} + @.js on_valid_host + @.python on_valid_host + @.lua on_valid_host} on_default)))))) (def: conversion_tests diff --git a/stdlib/source/test/lux/macro/template.lux b/stdlib/source/test/lux/macro/template.lux index b129aaaef..9032453c5 100644 --- a/stdlib/source/test/lux/macro/template.lux +++ b/stdlib/source/test/lux/macro/template.lux @@ -41,10 +41,10 @@ [left random.nat mid random.nat right random.nat] - (with_expansions [<module> (as_is [-8.9 +6.7 .5 -4 +3 2 #1 #0 #c b "a"]) - <module>' "-8.9+6.7.5-4+32#1#0cba" - <short> (as_is ["a" b #c #0 #1 2 +3 -4 .5 +6.7 -8.9]) - <short>' "abc#0#12+3-4.5+6.7-8.9"] + (with_expansions [<module> (as_is [.5 -4 +3 2 #1 #0 #c b "a"]) + <module>' ".5-4+32#1#0cba" + <short> (as_is ["a" b #c #0 #1 2 +3 -4 .5]) + <short>' "abc#0#12+3-4.5"] ($_ _.and (_.cover [/.splice] (\ (list.equivalence nat.equivalence) = |