1
<%-- $Id: psp_parser.psp 332353 2005-11-10 19:00:55Z jgallacher $ --%>
3
# Comment lines are ignored (python or psp).
4
# Lines beginning with test will be included, which
5
# includes lines generated by python code.
6
# Blank lines are ignored.
8
# The test format is "test:expected_result:test_string$"
9
# where the string '$' is a token to indicate the end of the test line.
10
# The '$' character was chosen as it's unlikely to be in the output of
12
# In processing the expected_result, the '-' character will be replace
13
# by the '\' character.
14
# The following substitutions will also be made in the expect_result
15
# LF linefeed character
16
# CR carriage-return character
26
req.write("test:-n:\\n$")
30
test_str='single_quotes'
32
test:'single_quotes':'<%= test_str %>'$
34
test_str='double_quotes'
36
test:"double_quotes":"<%= test_str %>"$