Two unit tests do not test anything

Description

The following two unit tests are of the form (is (= expr1) expr2), which can never fail, because (= expr1) is always true.

Found using a pre-release version of the Eastwood Clojure lint tool.

Environment

None

Attachments

1

Activity

Show:

Sean Corfield December 24, 2013 at 12:37 AM

Patch applied.

Sean Corfield December 24, 2013 at 12:27 AM

Thanx Andy!

Andy Fingerhut December 24, 2013 at 12:18 AM

Patch jdbc-85-v1.diff simply shuffles around the parens so that the tests are of the probably-intended form (is (= expr1 expr2))

Completed

Details

Assignee

Reporter

Priority

Created December 24, 2013 at 12:15 AM
Updated June 1, 2016 at 6:41 PM
Resolved June 1, 2016 at 6:41 PM