Obviously one of those cases where the code was mistranscribed. The context indicates the second test should have a ! in it. Interestingly, if we make that conjectural emendation, Perl 6 says:
TEST1 passed
TEST2 passed
because in Perl 6 arrays in scalar context wait until they see whether it's going to be numeric or string context to decide whether to produce a number or a string. One could view the Perl 6 effort largely as an effort to upgrade to a better FAQ. Or at least a different one... :-) | [reply] |