rspec/rules/S5863/comments-and-links.adoc

4 lines
394 B
Plaintext

=== on 17 Nov 2020, 16:15:30 Nicolas Harraudeau wrote:
Note that this rule is a bit more generic for dynamically typed languages. In Java calling ``++assertThat(x).isInstanceOf(x)++`` is likely to fail because ``++isInstanceOf++`` wants a ``++Class++`` as parameter. For languages like PHP or Javascript it is possible to make such a typo. If the test is skipped the issue will go undetected.