<< Back to previous view

[DXML-21] Some unit tests are never run because their names are the same Created: 23/Dec/13  Updated: 16/Apr/14  Resolved: 16/Apr/14

Status: Resolved
Project: data.xml
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Minor
Reporter: Andy Fingerhut Assignee: Ryan Senior
Resolution: Completed Votes: 0
Labels: None

Attachments: File dxml-21-v1.diff    

 Description   

Whenever two deftest statements have the same name, the first is ignored and its tests are never run.

In namespace clojure.data.xml.test-emit, there are two deftests with name defaults, and two with the name test-indent.

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



 Comments   
Comment by Andy Fingerhut [ 23/Dec/13 5:50 PM ]

Patch dxml-21-v1.diff makes all deftest names unique. I have not attempted to correct any new failing tests, if any.

Comment by Ryan Senior [ 16/Apr/14 4:18 PM ]

Patch applied

Generated at Fri Sep 19 06:54:31 CDT 2014 using JIRA 4.4#649-r158309.