diff options
Diffstat (limited to 'crashbox-server/src/test/scala/io/crashbox/ci/SourceSpec.scala')
-rw-r--r-- | crashbox-server/src/test/scala/io/crashbox/ci/SourceSpec.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crashbox-server/src/test/scala/io/crashbox/ci/SourceSpec.scala b/crashbox-server/src/test/scala/io/crashbox/ci/SourceSpec.scala index 9bef01d..a03e476 100644 --- a/crashbox-server/src/test/scala/io/crashbox/ci/SourceSpec.scala +++ b/crashbox-server/src/test/scala/io/crashbox/ci/SourceSpec.scala @@ -23,10 +23,11 @@ class SourceSpec extends FlatSpec with Matchers with Source with Core { } "GitFetchers" should "be able to clone a local repository" in { - TestUtil.withTempDir{ remote => + TestUtil.withTempDir { remote => makeRepo(remote) TestUtil.withTempDir { local => - val cloned = Await.result(fetchSource(remote.toURI().toURL(), local), Timeout) + val cloned = + Await.result(fetchSource(remote.toURI().toURL(), local), Timeout) assert(cloned.listFiles().length == 3) } } |