Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[URI::Dispatcher] added another test

This one passes already: dispatch on something unknown fails.
  • Loading branch information...
commit c3dc91e073d26959fd9c2a369c1d288c2bb318f9 1 parent dceea22
@masak authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 t/uri-dispatcher/01-literal.t
View
4 t/uri-dispatcher/01-literal.t
@@ -2,6 +2,8 @@ use v6;
use Test;
+plan 3;
+
use URI::Dispatcher;
{
@@ -13,4 +15,6 @@ use URI::Dispatcher;
ok $d.dispatch('/'), 'can dispatch on provided literal URL';
ok $callback_called, 'the provided callback was called';
+
+ nok $d.dispatch('/something/made/up'), 'failed dispatch';
}

0 comments on commit c3dc91e

Please sign in to comment.
Something went wrong with that request. Please try again.