examples: lang: Test that each of the mcl examples compiles

We let these rot, so fixup the issues and test them!
This commit is contained in:
James Shubin
2024-07-31 16:01:51 -04:00
parent 6de7d8b254
commit d0ed004b24
9 changed files with 34 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
import "fmt"
import "sys"
$x = sys.getenv("TEST", "321")
$x = sys.defaultenv("TEST", "321")
print "print1" {
msg => fmt.printf("TEST is: %s", $x),