Permalink
Browse files

Made use of the noJars feature for DependencyTests

  • Loading branch information...
1 parent 5e70d0b commit 67d5a65c95e148c94660fc1aeb3f5faa68325011 @schauder committed Jan 15, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/test/scala/de/schauderhaft/degraph/check/DependencyTest.scala
@@ -10,7 +10,7 @@ import Check._
class DependencyTest extends FunSuite {
test("Degraph honors its constraints") {
- classpath.including("de.schauderhaft.**").
+ classpath.noJars.including("de.schauderhaft.**").
withSlicing("part", "de.schauderhaft.*.(*).**").
withSlicing("lib", "de.schauderhaft.**(Test)",
("main", "de.schauderhaft.*.**")).
@@ -22,7 +22,7 @@ class DependencyTest extends FunSuite {
}
test("Degraph has no cycles") {
- classpath.including("de.schauderhaft.**") should be(violationFree)
+ classpath.noJars.including("de.schauderhaft.**") should be(violationFree)
}
// slow as mud

0 comments on commit 67d5a65

Please sign in to comment.