Skip to content

Instantly share code, notes, and snippets.

@astj
Created January 28, 2016 06:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save astj/bb8eac5cb13b61d7585e to your computer and use it in GitHub Desktop.
Save astj/bb8eac5cb13b61d7585e to your computer and use it in GitHub Desktop.
$ carton exec -- prove -lvr t/Plack-Middleware/access_log_timed.t
t/Plack-Middleware/access_log_timed.t ..
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
# sleep 3.5
not ok 10
# Failed test at t/Plack-Middleware/access_log_timed.t line 155.
# '3500000 3.5
# '
# doesn't match '(?^:^\d\.\d+ \d{7})'
# sleep 0.3
not ok 11
1..11
# Failed test at t/Plack-Middleware/access_log_timed.t line 161.
# '3500000 3.5
# 299999 0.299999952316284
# '
# doesn't match '(?^:^\d\.\d+ \d{6})'
# Looks like you failed 2 tests of 11.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/11 subtests
Test Summary Report
-------------------
t/Plack-Middleware/access_log_timed.t (Wstat: 512 Tests: 11 Failed: 2)
Failed tests: 10-11
Non-zero exit status: 2
Files=1, Tests=11, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.06 cusr 0.01 csys = 0.08 CPU)
Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment