diff options
author | Li Haoyi <haoyi@dropbox.com> | 2014-11-09 10:08:47 -0800 |
---|---|---|
committer | Li Haoyi <haoyi@dropbox.com> | 2014-11-09 10:08:47 -0800 |
commit | 978a138c02c07822ef71f31f71e552a9659a0a53 (patch) | |
tree | 9771e4d4620af7e6f5ff54cb4c711e04cffb4e30 /examples/crossBuilds/simple2/js/shared/test/scala/simple/SimpleTest.scala | |
parent | 795c0eb5de003b22c3874762557ae2b34ae64de0 (diff) | |
download | hands-on-scala-js-978a138c02c07822ef71f31f71e552a9659a0a53.tar.gz hands-on-scala-js-978a138c02c07822ef71f31f71e552a9659a0a53.tar.bz2 hands-on-scala-js-978a138c02c07822ef71f31f71e552a9659a0a53.zip |
wip
Diffstat (limited to 'examples/crossBuilds/simple2/js/shared/test/scala/simple/SimpleTest.scala')
-rw-r--r-- | examples/crossBuilds/simple2/js/shared/test/scala/simple/SimpleTest.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/crossBuilds/simple2/js/shared/test/scala/simple/SimpleTest.scala b/examples/crossBuilds/simple2/js/shared/test/scala/simple/SimpleTest.scala new file mode 100644 index 0000000..ec6b29f --- /dev/null +++ b/examples/crossBuilds/simple2/js/shared/test/scala/simple/SimpleTest.scala @@ -0,0 +1,13 @@ +/*js/shared/test/scala/simple/SimpleTest.scala*/ +/*jvm/shared/test/scala/simple/SimpleTest.scala*/ +package simple +import utest._ +object SimpleTest extends TestSuite{ + val tests = TestSuite{ + 'format{ + 'nil - assert(Simple.formatTimes(Nil) == "") + 'timeZero - assert( + Simple.formatTimes(Seq(0)) == "December 31, 1969 4:00:00 PM PST") + } + } +}
\ No newline at end of file |