From 565e7fae85379e4d2e4daacc51eb1f8796c738c1 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 22 Feb 2021 01:46:40 -0400 Subject: Updates for PHP compiler. --- stdlib/source/test/lux.lux | 6 ++++-- stdlib/source/test/lux/macro/template.lux | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'stdlib/source/test') 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 [ (as_is [-8.9 +6.7 .5 -4 +3 2 #1 #0 #c b "a"]) - ' "-8.9+6.7.5-4+32#1#0cba" - (as_is ["a" b #c #0 #1 2 +3 -4 .5 +6.7 -8.9]) - ' "abc#0#12+3-4.5+6.7-8.9"] + (with_expansions [ (as_is [.5 -4 +3 2 #1 #0 #c b "a"]) + ' ".5-4+32#1#0cba" + (as_is ["a" b #c #0 #1 2 +3 -4 .5]) + ' "abc#0#12+3-4.5"] ($_ _.and (_.cover [/.splice] (\ (list.equivalence nat.equivalence) = -- cgit v1.2.3