t/sanity.t - lemplate

  1. # vim:set ft= ts=4 sw=4 et fdm=marker:

  2. use t::TestLemplate;

  3. plan tests => 1 * blocks();

  4. run_tests;

  5. __DATA__

  6. === TEST 1: simple varaible interpolation
  7. --- tt2
  8. Hello, [% world %]!
  9. --- define: world = "Lua"
  10. --- out
  11. Hello, Lua!