summaryrefslogtreecommitdiff
path: root/test/files/run/t1618.scala
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2009-01-13 14:45:26 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2009-01-13 14:45:26 +0000
commite53cf49b7f94996ccfa538599ad624bfc599afb7 (patch)
tree0dc9cafe40f79602fd0cbe64307081dc415a7d3d /test/files/run/t1618.scala
parent6fa0f854c7c2aa854e82bd3d083a5a43979e2f1e (diff)
downloadscala-e53cf49b7f94996ccfa538599ad624bfc599afb7.tar.gz
scala-e53cf49b7f94996ccfa538599ad624bfc599afb7.tar.bz2
scala-e53cf49b7f94996ccfa538599ad624bfc599afb7.zip
Added a test for #1618
Diffstat (limited to 'test/files/run/t1618.scala')
-rw-r--r--test/files/run/t1618.scala11
1 files changed, 11 insertions, 0 deletions
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)
+
+}
+
+