Commit be4fc224 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fixed reference test

parent 9e62862f
......@@ -19,6 +19,7 @@ class ReferenceTest extends TestNGSuite with Matchers with MockitoSugar {
@Test
def testDefault: Unit = {
Logging.errors.clear()
make(config :: testReferenceNoIndex :: Nil).referenceFasta()
Logging.checkErrors(true)
......
......@@ -36,7 +36,7 @@ trait Logging {
object Logging {
val logger = Logger.getRootLogger
private val errors: ListBuffer[Exception] = ListBuffer()
private[biopet] val errors: ListBuffer[Exception] = ListBuffer()
def addError(error: String, debug: String = null): Unit = {
val msg = error + (if (debug != null && logger.isDebugEnabled) "; " + debug else "")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment