Skip to content

Instantly share code, notes, and snippets.

@soh335
Created May 25, 2010 07:42
Show Gist options
  • Save soh335/412893 to your computer and use it in GitHub Desktop.
Save soh335/412893 to your computer and use it in GitHub Desktop.
t/action_chain_slashinpathpart.t .. [debug] Loaded Chained actions:
.-------------------------------------+--------------------------------------.
| Path Spec | Private |
+-------------------------------------+--------------------------------------+
| /foo/*/hoge/fuga/ | /foo (1) |
| | => /end |
'-------------------------------------+--------------------------------------'
[debug] Setup finished
[debug] "GET" request for "/foo/bar/hoge/fuga" from "127.0.0.1"
[debug] Arguments are ""
[debug] Request took 0.002016s (496.032/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /foo | 0.000023s |
| /end | 0.000113s |
| /end | 0.000009s |
'----------------------------------------------------------------+-----------'
ok 1 - slash in pathpart ok
1..1
ok
All tests successful.
Files=1, Tests=1, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.16 cusr 0.03 csys = 0.22 CPU)
Result: PASS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment