diff options
author | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2011-03-22 18:23:28 +0000 |
---|---|---|
committer | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2011-03-22 18:23:28 +0000 |
commit | 142405e1dd623e965e7ce5a3bc4fa019bc3262fa (patch) | |
tree | cf3fda893881d2c43b02d9fc3fa119295dd78eb8 /test/disabled/coder/Dictionary.scala | |
parent | e579152f7329a314607d33c7e3761b769b93518d (diff) | |
download | scala-142405e1dd623e965e7ce5a3bc4fa019bc3262fa.tar.gz scala-142405e1dd623e965e7ce5a3bc4fa019bc3262fa.tar.bz2 scala-142405e1dd623e965e7ce5a3bc4fa019bc3262fa.zip |
Adding some tests for #3651.
No review.
Diffstat (limited to 'test/disabled/coder/Dictionary.scala')
-rw-r--r-- | test/disabled/coder/Dictionary.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/disabled/coder/Dictionary.scala b/test/disabled/coder/Dictionary.scala new file mode 100644 index 0000000000..7b354b9aa8 --- /dev/null +++ b/test/disabled/coder/Dictionary.scala @@ -0,0 +1,10 @@ + + + + + +object Dictionary { + val wordlist = wordlines.split(System.getProperty("line.separator")).filter(_.trim != "").toList + val wordarray = wordlist.toArray + def wordlines = scala.io.Source.fromFile("test/files/run/coder/dict.txt").mkString +} |