gopp/tests/index.md.pp

20 lines
349 B
ObjectPascal

<?
os := import("os")
shit := import("./tests/shit.tengo")
newVar := "'this is gen shita'"
println(shit.some_func())
?># The index testing
1 + 1 = <? print(1+1) ?>
cock <? print(newVar, "and cock")?>
## The shit after
checking <? printf(newVar) ?>
## File contents
<?
bts := os.read_file("tests/somefile")
printf("%v\n%s", bts, bts)
?>