diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-04-11 21:51:14 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-04-11 21:51:14 +0200 |
commit | b88b79d03517dad973de2aa81c2e5f702d20b2e1 (patch) | |
tree | cb3ad7e4816d5be33abfe2db411f9f130e30c506 /test | |
parent | 3df6dce0ef83f90e5aaa0b5a0189b81006347c92 (diff) | |
download | dotty-b88b79d03517dad973de2aa81c2e5f702d20b2e1.tar.gz dotty-b88b79d03517dad973de2aa81c2e5f702d20b2e1.tar.bz2 dotty-b88b79d03517dad973de2aa81c2e5f702d20b2e1.zip |
Allow to provide parent Context for Driver.process
Diffstat (limited to 'test')
-rw-r--r-- | test/test/CompilerTest.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test/CompilerTest.scala b/test/test/CompilerTest.scala index d25cfb637..d52e74de7 100644 --- a/test/test/CompilerTest.scala +++ b/test/test/CompilerTest.scala @@ -13,7 +13,7 @@ class CompilerTest extends DottyTest { def compileArgs(args: Array[String], xerrors: Int = 0): Unit = { val allArgs = args ++ defaultOptions val processor = if (allArgs.exists(_.startsWith("#"))) Bench else Main - val nerrors = processor.process(allArgs).count(Reporter.ERROR.level) + val nerrors = processor.process(allArgs, ctx).count(Reporter.ERROR.level) assert(nerrors == xerrors, s"Wrong # of errors. Expected: $xerrors, found: $nerrors") } |