Skip to content

Commit

Permalink
Fix broken data class test where absolute path is used in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
arturbosch committed Jul 16, 2016
1 parent e5de905 commit 88049cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class DataClassDetectorTest extends Specification {
smells.size() == 1
smells.getAt(0).name == "DataClassDummy"
smells.getAt(0).signature == "DataClassDummy"
smells.getAt(0).sourcePath.path == "/home/artur/Repos/SmartSmells/src/test/groovy/com/gitlab/artismarti/smartsmells/java/DataClassDummy.java"
smells.getAt(0).sourcePath.path.endsWith("DataClassDummy.java")

where:
smells = new DataClassDetector().run(Test.DATA_CLASS_DUMMY_PATH)
Expand Down

0 comments on commit 88049cd

Please sign in to comment.