Skip to content

Commit

Permalink
Merge pull request #1 from Duhemm/setup-travis
Browse files Browse the repository at this point in the history
Setup travis, public tests in utilLogging
  • Loading branch information
eed3si9n authored and dwijnand committed Jul 7, 2017
2 parents 7f57853 + 39d66c4 commit d7b4c00
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package sbt.complete

import java.io.File
import sbt.IO
import sbt.io.IO

/**
* These sources of examples are used in parsers for user input completion. An example of such a source is the
Expand Down Expand Up @@ -56,4 +56,4 @@ class FileExamples(base: File, prefix: String = "") extends ExampleSource {

private def dirStartsWithPrefix(relativizedPath: String): Boolean =
(relativizedPath startsWith prefix) || (prefix startsWith relativizedPath)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package sbt
package complete

import java.io.File
import sbt.io.IO

object HistoryCommands {
val Start = "!"
Expand Down Expand Up @@ -70,4 +71,4 @@ object HistoryCommands {

val actionParser: Parser[complete.History => Option[List[String]]] =
Start ~> (help | last | execInt | list | execStr) // execStr must come last
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ package sbt.complete

import org.specs2.mutable.Specification
import org.specs2.specification.Scope
import sbt.IO.withTemporaryDirectory
import java.io.File
import sbt.IO._
import sbt.io.IO._

class FileExamplesTest extends Specification {

Expand Down

0 comments on commit d7b4c00

Please sign in to comment.