blob: c8d77e2c3e9da48b33c651bdeafc491355d672df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import utest._
object ArgsParserTests extends TestSuite {
def tests: Tests = Tests {
test("one"){
val result = ArgsParser.parse("hello:world")
assert(
result.length == 2,
result == Seq("hello", "world")
)
}
test("two"){ // we fail this test to check testing in scala.js
val result = ArgsParser.parse("hello:world")
assert(
result.length == 80
)
}
}
}
|