This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
remove useless "default" mechanism
[perl5.git] / t / lib / feature / nonesuch
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
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