#
&Tmp-String-2 := "%{%{Tmp-String-0[0]}:-%{Tmp-String-1[0]}}"
if (&Tmp-String-2[0] != 'foo') {
- fail
+ test_fail
}
#
&request -= &Tmp-String-0[*]
&Tmp-String-2 := "%{%{Tmp-String-0[0]}:-%{Tmp-String-1[0]}}"
if (&Tmp-String-2[0] != 'bar') {
- fail
+ test_fail
}
#
#
&Tmp-String-2 := "%{%{Tmp-String-0[0]}:-%{Tmp-String-1[0]} foo}"
if (&Tmp-String-2[0] != 'bar foo') {
- fail
+ test_fail
}
#
&request -= &Tmp-String-1[*]
&Tmp-String-2 := "%{%{Tmp-String-0[0]}:-%{Tmp-String-1[0]}}"
if (!&Tmp-String-2[0] || (&Tmp-String-2[0] != "")) {
- fail
+ test_fail
}
success
# Check debug level is now 4
if ("%(debug:4)" != 4) {
- fail
+ test_fail
}
# Set debug back to the original level
# Read out the current debug level to verify it changed
if ("%(debug:%{Tmp-Integer-0})" != "%{Tmp-Integer-0}") {
- fail
+ test_fail
}
# Check for 'splosions