gopp/tests/index.md.pp

20 lines
365 B
ObjectPascal

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