aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md12
1 files changed, 12 insertions, 0 deletions
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