@@ -28,7 +28,7 @@ plan 24;
28
28
ok $ c , ' literal in bool context - string true value' ;
29
29
ok ! $ d , ' literal in bool context - string false value' ;
30
30
ok $ e , ' literal in bool context - stringified true value' ;
31
- ok ! $ f , ' literal in bool context - stringified false value' ;
31
+ ok $ f , ' literal in bool context - stringified true value' ;
32
32
ok ! $ g , ' literal in bool context - undefined value' ;
33
33
ok $ h , ' literal in bool context - scalar variable' ;
34
34
}
@@ -54,7 +54,7 @@ plan 24;
54
54
ok $ c , ' array in bool context - string true value' ;
55
55
ok ! $ d , ' array in bool context - string false value' ;
56
56
ok $ e , ' array in bool context - stringified true value' ;
57
- ok ! $ f , ' array in bool context - stringified false value' ;
57
+ ok $ f , ' array in bool context - stringified true value' ;
58
58
ok ! $ g , ' array in bool context - undefined value' ;
59
59
ok $ h , ' array in bool context array as a whole' ;
60
60
}
@@ -83,7 +83,7 @@ plan 24;
83
83
ok $ c , ' hash in bool context - string true value' ;
84
84
ok ! $ d , ' hash in bool context - string false value' ;
85
85
ok $ e , ' hash in bool context - stringified true value' ;
86
- ok ! $ f , ' hash in bool context - stringified false value' ;
86
+ ok $ f , ' hash in bool context - stringified true value' ;
87
87
ok ! $ g , ' hash in bool context - undefined value' ;
88
88
ok $ h , ' hash in bool context - hash as a whole' ;
89
89
}
0 commit comments