Skip to content

Commit 4bba70b

Browse files
committed
Made test checks less specific
1 parent b26a27c commit 4bba70b

File tree

1 file changed

+5
-7
lines changed
  • sbt/src/sbt-test/actions/compile-clean

1 file changed

+5
-7
lines changed
Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1+
$ touch target/cant-touch-it
2+
13
> test:compile
2-
$ exists target/scala-2.12/resolution-cache/
3-
$ exists target/streams/
44
$ exists target/scala-2.12/classes/A.class
55
$ exists target/scala-2.12/test-classes/B.class
66

77
> compile:compile::clean
8-
$ exists target/scala-2.12/resolution-cache/
9-
$ exists target/streams/
8+
$ exists target/cant-touch-it
109
$ exists target/scala-2.12/test-classes/B.class
11-
# it should clean only class files
10+
# it should clean only compile class files
1211
$ absent target/scala-2.12/classes/A.class
1312

1413
> test:compile::clean
15-
$ exists target/scala-2.12/resolution-cache/
16-
$ exists target/streams/
14+
$ exists target/cant-touch-it
1715
# it should clean both compile and test classes
1816
$ absent target/scala-2.12/classes/A.class
1917
$ absent target/scala-2.12/test-classes/B.class

0 commit comments

Comments
 (0)