Commit | Line | Data |
0d863452 |
1 | Test that non-existent features fail as expected. |
2 | |
3 | __END__ |
4 | use feature "nonesuch"; |
5 | EXPECT |
6 | OPTIONS regex |
7 | ^Feature "nonesuch" is not supported by Perl [v0-9.]+ at - line 1 |
8 | ######## |
9 | no feature "nonesuch"; |
10 | EXPECT |
11 | OPTIONS regex |
12 | ^Feature "nonesuch" is not supported by Perl [v0-9.]+ at - line 1 |
bc9b29db |
13 | ######## |
14 | use feature ":nonesuch"; |
15 | EXPECT |
16 | OPTIONS regex |
17 | ^Feature bundle "nonesuch" is not supported by Perl [v0-9.]+ at - line 1 |
18 | ######## |
19 | no feature ":nonesuch"; |
20 | EXPECT |
21 | OPTIONS regex |
22 | ^Feature bundle "nonesuch" is not supported by Perl [v0-9.]+ at - line 1 |