15 lines
605 B
Plaintext
15 lines
605 B
Plaintext
=== relates to: S2912
|
|
|
|
=== on 5 May 2015, 12:39:22 Ann Campbell wrote:
|
|
After discussion, rule only checks for tests against ``++>0++``, so this is ignored: ``++if (str.indexOf('a') > 1)++``
|
|
|
|
=== on 26 Jun 2015, 13:36:35 Tamas Vajk wrote:
|
|
\[~ann.campbell.2] this rule talks about both lists and strings, but the error message explicitly mentions strings. Also, the rule seems to only check for ``++>0++``, but the message says ``++n++``.
|
|
|
|
|
|
I would probably go with something like this: _0 is a valid index, but this check ignores it._
|
|
|
|
=== on 26 Jun 2015, 15:27:59 Ann Campbell wrote:
|
|
Done [~tamas.vajk]
|
|
|