blob: 04dd0543edbcefeb03a847b31441c5850259741a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# file : tests/directive/assert.testscript
# license : MIT; see accompanying LICENSE file
# Test overall directive parsing.
#
.include ../common.testscript
: assign
: Test differentiation with variable assignment.
:
{
# Note: ? is expanded as pattern.
$* <'print +foo' >'+foo' : plus
$* <'print ?foo' >'' : ques
$* <'print + foo' >'+ foo' : plus-ws-eq
$* <'print ? foo' >'foo' : ques-ws-eq
$* <'print +' >'+' : plus-only
$* <'print ?' >'' : ques-only
}
|