File: | /tmp/automake/lib/Automake/tests/Cond2.pl |
Coverage: | 100.0% |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | # Catch common programming error: | ||||||
2 | # A Condition passed as a string to 'new'. | ||||||
3 | 4 4 4 | 58 4 28 | use Automake::Condition; | ||||
4 | |||||||
5 | 4 | 21 | my $cond = new Automake::Condition ('TRUE'); | ||||
6 | 4 | 11 | new Automake::Condition ($cond); |