File tree Expand file tree Collapse file tree 4 files changed +6
-9
lines changed
sbt-app/src/sbt-test/tests/test-quick Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
1
val scalatest = " org.scalatest" %% " scalatest" % " 3.0.5"
2
- val scalaxml = " org.scala-lang.modules" %% " scala-xml" % " 1.1.1"
3
2
ThisBuild / scalaVersion := " 2.12.12"
4
3
5
4
lazy val root = (project in file(" ." ))
6
5
.settings(
7
- libraryDependencies ++= List (scalaxml, scalatest) ,
6
+ libraryDependencies += scalatest % Test ,
8
7
Test / parallelExecution := false
9
8
)
Original file line number Diff line number Diff line change 1
1
import org .scalatest .FlatSpec
2
- import org .scalatest .matchers .ShouldMatchers
3
2
4
- class Create extends FlatSpec with ShouldMatchers with Base {
3
+ class Create extends FlatSpec with Base {
5
4
" a file" should " not exist" in {
6
5
A (new B ).foo
7
- marker.exists should equal( false )
8
- marker.createNewFile() should equal ( true )
6
+ assert( marker.exists == false )
7
+ assert( marker.createNewFile() == true )
9
8
}
10
9
11
10
}
Original file line number Diff line number Diff line change 1
1
import org .scalatest .FlatSpec
2
- import org .scalatest .matchers .ShouldMatchers
3
2
4
- class Delete extends FlatSpec with ShouldMatchers with Base {
3
+ class Delete extends FlatSpec with Base {
5
4
" a file" should " exist" in {
6
- marker.exists should equal( true )
5
+ assert( marker.exists == true )
7
6
marker.delete()
8
7
}
9
8
File renamed without changes.
You can’t perform that action at this time.
0 commit comments