summaryrefslogtreecommitdiff
path: root/web/funnelAC/tests/sc23.fw
blob: 7ec5ffcb3a0ed995390da9cf0991cc389a0888a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SC23: Test syntax checking of output line length pragma.

1. Test not three arguments.
@p maximum_output_line_length
@p maximum_output_line_length =
@p maximum_output_line_length = xxx yyy

2. Test second argument not "=".
@p maximum_output_line_length x sloth

3. Test value of infinity.
@p maximum_output_line_length = infinity

4. Test non-decimal digit in number.
@p maximum_output_line_length = 2ef

5. Test number is more than eight digits long.
@p maximum_output_line_length = 123456789

6. Test number is exactly eight digits long.
7. Test pragma opposing earlier pragma.
@p maximum_output_line_length = 12345678

8. Test pragma not opposing earlier pragma.
@p maximum_output_line_length = infinity