tokuhirom / p6-Crust

PSGI library stack for Perl6
Artistic License 2.0
66 stars 18 forks source link

[nit] fix test message #83

Closed astj closed 7 years ago

astj commented 7 years ago

Current test code cannot pass the message argument to lives-ok at t/Crust-Middleware/lint.t, and it prints WARNING.

WARNINGS for /MYDIRECTORY/.panda-work/1481903333_29/t/Crust-Middleware/lint.t:
Useless use of constant string "Should work fine" in sink context (lines 22, 22)
t/Crust-Middleware/lint.t ............. ok

With this patch (and add -v to prove), I can see Should work fine is passed to lives-ok.

t/Crust-Middleware/lint.t .............
    ok 1 - Should work fine
        ok 1 -
        1..1
...