From 14504f36b603984c14b05995a8928cbd40dfa670 Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Wed, 27 Mar 2024 15:50:19 +0100 Subject: Update the readme as well --- readme.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/readme.md b/readme.md index 493d5cf..6b6c535 100644 --- a/readme.md +++ b/readme.md @@ -84,3 +84,15 @@ The application will report text strings containing only one expression with a For example `"<<$variable>>"` can be written directly: `$variable>`. This test will not report this usage when an integer converted into a string this way. +### Duplicated test + +In a single if branch, check if the same is repeated more than one once. In +this case, only the first case is executed and the other test is ignored. + +A warining will be raised here: + + if $value = '1': + ! Do something + elseif $value = '1': + ! Do something else + end -- cgit v1.2.3