# HG changeset patch # User Jeff Hammel # Date 1330559217 28800 # Node ID 21673816cfde7a2200c6778760bdf02ab394048f # Parent c8520774ddc912e7764b4b130376d4a7b3e983c8 add a test for normal files ending with slashes diff -r c8520774ddc9 -r 21673816cfde tests/doctest.txt --- a/tests/doctest.txt Wed Feb 29 15:45:27 2012 -0800 +++ b/tests/doctest.txt Wed Feb 29 15:46:57 2012 -0800 @@ -51,6 +51,12 @@ >>> response.status 404 +Ensure we're not misusing slashes:: + + >>> response = testapp.get('/helloworld.txt/', status=404) + >>> response.status + 404 + Ensure you can get resources from subdirectories:: >>> response = testapp.get('/foo')