diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-02-20 11:14:31 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-02-20 11:14:31 -0600 |
commit | cf3163b0a861536e397e6d7032bb0e225b794e77 (patch) | |
tree | fd8144237b37036b459e2882b70f1a998d5a219f /src/test | |
parent | bba83124121c6e014f8ae6369345caf6e0273202 (diff) | |
download | scala-test-more-cf3163b0a861536e397e6d7032bb0e225b794e77.tar.gz scala-test-more-cf3163b0a861536e397e6d7032bb0e225b794e77.zip |
let's try to simplify this
not entirely convinced this is a good idea, but it looks a lot more
reasonable than all of the repeating myself i had to do previously.
we'll see.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/scala/basic.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/scala/basic.scala b/src/test/scala/basic.scala index 94a2af6..1f9fe6d 100644 --- a/src/test/scala/basic.scala +++ b/src/test/scala/basic.scala @@ -148,13 +148,13 @@ class Basic extends FunSuite with BeforeAndAfter { test ("todo") { val builder = new Builder(output) - builder.ok(false, "do a thing", "not working yet") - builder.ok(true, "some other thing", "is it?") + builder.ok(false, "do a thing", todo = "not working yet") + builder.ok(true, todo = "is it?") builder.doneTesting val expected = "not ok 1 do a thing # TODO not working yet\n" + - "ok 2 some other thing # TODO is it?\n" + + "ok 2 # TODO is it?\n" + "1..2\n" assert(output.toString === expected) |