nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/popcorn: document use_before and use_after
[nit.git]
/
lib
/
popcorn
/
tests
/
test_example_advanced_logger.nit
diff --git
a/lib/popcorn/tests/test_example_advanced_logger.nit
b/lib/popcorn/tests/test_example_advanced_logger.nit
index
41193d2
..
29b3fc2
100644
(file)
--- a/
lib/popcorn/tests/test_example_advanced_logger.nit
+++ b/
lib/popcorn/tests/test_example_advanced_logger.nit
@@
-28,9
+28,9
@@
class TestClient
end
var app = new App
-app.use("/*", new RequestTimeHandler)
+app.use_before("/*", new RequestTimeHandler)
app.use("/", new HelloHandler)
-app.use("/*", new LogHandler)
+app.use_after("/*", new LogHandler)
var host = test_host
var port = test_port