diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2009-01-13 14:45:26 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2009-01-13 14:45:26 +0000 |
commit | e53cf49b7f94996ccfa538599ad624bfc599afb7 (patch) | |
tree | 0dc9cafe40f79602fd0cbe64307081dc415a7d3d | |
parent | 6fa0f854c7c2aa854e82bd3d083a5a43979e2f1e (diff) | |
download | scala-e53cf49b7f94996ccfa538599ad624bfc599afb7.tar.gz scala-e53cf49b7f94996ccfa538599ad624bfc599afb7.tar.bz2 scala-e53cf49b7f94996ccfa538599ad624bfc599afb7.zip |
Added a test for #1618
-rw-r--r-- | test/files/run/t1618.scala | 11 |
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) + +} + + |