about summary refs log tree commit diff
path: root/router_test.go
diff options
context:
space:
mode:
authorFranck Cuny <franck@lumberjaph.net>2013-05-06 20:12:32 -0700
committerFranck Cuny <franck@lumberjaph.net>2013-05-06 20:46:03 -0700
commit3f02041e17c90d28be4faacd78a43659022ea472 (patch)
treeb0906a6a78f30ba540061c3b3cd93fa4dac9f609 /router_test.go
parentrename mooh to path router (diff)
downloadpath-router-3f02041e17c90d28be4faacd78a43659022ea472.tar.gz
Update the GetRouteList test.
This test was failing because it was expecting the list to be ordered,
but that's not the case.
Diffstat (limited to 'router_test.go')
-rw-r--r--router_test.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/router_test.go b/router_test.go
index 1d959a9..0df229d 100644
--- a/router_test.go
+++ b/router_test.go
@@ -31,10 +31,6 @@ func TestGetRouteList(t *testing.T) {
 	if len(routes) != 3 {
 		t.Fatal()
 	}
-
-	if routes[0] != "/foo" {
-		t.Fatal()
-	}
 }
 
 func TestGetHasPath(t *testing.T) {