rspec/rules/S5958/javascript/highlighting.adoc

10 lines
305 B
Plaintext

=== Highlighting
* When an assertion function is used:
** location: the assertion function
* When ``++try...catch...done++`` is used:
** Primary location: the ``++catch (e)++`` statement
** Secondary location: the call to ``++done()++``
message: 'done()" is called without checking the exception.'