Thomas ten Cate
b864f07c53
Propagate StrictSlash to subrouters instead of rudely turning it off
12 years ago
Thomas ten Cate
3509745ae8
Add tests for all four StrictSlash cases
12 years ago
Thomas ten Cate
bac1372129
Convert TestStrictSlash to a table driven test
12 years ago
Thomas ten Cate
033224c12e
Document behaviour of StrictSlash and PathPrefix better, and add tests to nail this down
12 years ago
Thomas ten Cate
525eff436e
Improve docs about leading and trailing slashes
12 years ago
Quinn Slack
9ee70e572c
gofmt
12 years ago
Philip Schlump
ab8ae247f1
Fixed the domain name copied from my other code to be example.com
12 years ago
Philip Schlump
6689ee8243
Cleaned up testing.
12 years ago
Philip Schlump
1a2411f44a
Added tests to verify that the 301 redirect returns query string
12 years ago
John Nadratowski
e718e932ee
Add KeepContext flag to Router to disable clearing of context data.
13 years ago
moraes
a8ad2b0f13
Now the real test for https://plus.google.com/101022900381697718949/posts/eWy6DjFJ6uW
13 years ago
moraes
b20a198901
Test for https://plus.google.com/101022900381697718949/posts/eWy6DjFJ6uW
13 years ago
Kamil Kisiel
f89494aed1
Finished converting rest of mux tests to table tests
...
Separated the tests in to test functions depending on what they are
testing.
Moved some test-specific functiosn in to closures within the test
functions themselves.
13 years ago
Kamil Kisiel
bcb4f4bcdc
Converted TestRoute to a table-driven test
13 years ago
moraes
eac83ba2c0
Initial files.
13 years ago