summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/test
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-12 01:04:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-12 01:04:59 +0000
commit7952c6294c573fcd9328399b08d6d79dd28e605d (patch)
treeb192da8368104829f027d7bdf77c1d080dd59878 /perl_checker.src/test
parentab10315e01cd4962d35c9fce53a667df409372f7 (diff)
downloadperl_checker-7952c6294c573fcd9328399b08d6d79dd28e605d.tar
perl_checker-7952c6294c573fcd9328399b08d6d79dd28e605d.tar.gz
perl_checker-7952c6294c573fcd9328399b08d6d79dd28e605d.tar.bz2
perl_checker-7952c6294c573fcd9328399b08d6d79dd28e605d.tar.xz
perl_checker-7952c6294c573fcd9328399b08d6d79dd28e605d.zip
check lvalue validity
Diffstat (limited to 'perl_checker.src/test')
-rw-r--r--perl_checker.src/test/various_errors.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl_checker.src/test/various_errors.t b/perl_checker.src/test/various_errors.t
index 535034b..af21eb4 100644
--- a/perl_checker.src/test/various_errors.t
+++ b/perl_checker.src/test/various_errors.t
@@ -12,9 +12,12 @@ if ($xxx = '') {} are you sure you did not mean "==" inst
N("xxx$yyy") don't use interpolated translated string, use %s or %d instead
+if ($xxx && $yyy = xxx()) {} invalid lvalue
+
1 + 2 >> 3 missing parentheses (needed for clarity)
$xxx ? $yyy = 1 : $zzz = 2; missing parentheses (needed for clarity)
+ invalid lvalue
N_("xxx") . 'yyy' N_("xxx") . "yyy" is dumb since the string "xxx" will never get translated