summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-02-14 17:39:46 -0600
committerJesse Luehrs <doy@tozt.net>2013-02-14 17:44:28 -0600
commit6af0bb7aa231c41213b455e1ae44a50a5b295292 (patch)
tree4549593b7599ae37c1e336bfc60819159fe395be /src/test
parent84000c335f5cdd2bb3994e7062f30836f2275b4d (diff)
downloadscala-path-router-6af0bb7aa231c41213b455e1ae44a50a5b295292.tar.gz
scala-path-router-6af0bb7aa231c41213b455e1ae44a50a5b295292.zip
implement uriFor
Diffstat (limited to 'src/test')
-rw-r--r--src/test/scala/basic.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/scala/basic.scala b/src/test/scala/basic.scala
index 070ace8..ef9ea22 100644
--- a/src/test/scala/basic.scala
+++ b/src/test/scala/basic.scala
@@ -57,6 +57,7 @@ class Basic extends FunSuite {
)
def testRoute (router: Router[Boolean], path: String, mapping: Map[String, String]) {
+ assert(path === router.uriFor(mapping).get)
val om = router.route(path)
assert(om.isDefined)
val m = om.get