modifiers.should 348 Bytes
Newer Older
1 2 3 4 5
!OPTIONS: --mod w

# Modifiers given through the !OPTIONS line apply to every test.


Mathieu Giraud's avatar
Mathieu Giraud committed
6
LC_ALL=C cal 2001
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


# Here tests with `w` count all occurrences, even when they are on the same line.

$ 7 months have 31 days
7: 31

$ 11 months have 30 days or more
11: 30


# Uppercase modifiers cancel previous modifiersrs.

$ 5 lines have a '31' day
W5: 31