From e53cf49b7f94996ccfa538599ad624bfc599afb7 Mon Sep 17 00:00:00 2001 From: Geoffrey Washburn Date: Tue, 13 Jan 2009 14:45:26 +0000 Subject: Added a test for #1618 --- test/files/run/t1618.scala | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/files/run/t1618.scala (limited to 'test') diff --git a/test/files/run/t1618.scala b/test/files/run/t1618.scala new file mode 100644 index 0000000000..9f3ade6113 --- /dev/null +++ b/test/files/run/t1618.scala @@ -0,0 +1,11 @@ + +object Test extends Application { + import scala.tools.nsc.io._ + + val dir: VirtualDirectory = new VirtualDirectory("foo", None) + dir.subdirectoryNamed("foo") + assert(dir.lookupName("foo", true) != null) + +} + + -- cgit v1.2.3