racke / Template-Flute

Template::Flute - Modern designer-friendly HTML templating Engine
Other
11 stars 12 forks source link

Odd failure with skip=empty and currency filter #76

Closed racke closed 9 years ago

racke commented 9 years ago

http://www.cpantesters.org/cpan/report/e3886f6e-82bb-11e4-af8d-2bc634af5f83

#   Failed test 'Skip empty works with filter currency'
#   at t/values/skip-empty.t line 261.
#                   '<html><head></head><body><ul><li class="items">
# Price of <span class="good">first</span> is <span class="price">1,00 EUR</span></li><li class="items">
# Price of <span class="good">second</span> is <span class="price">NOPRICE</span></li><li class="items">
# Price of <span class="good">third</span> is <span class="price">NOPRICE</span></li></ul><p class="offer">10,00 EUR</p><p class="emptyoffer">EMPTY</p></body></html>'
#     doesn't match '(?^s:first.*EUR\s+1,00.*second.*NOPRICE.*third.*NOPRICE)'

#   Failed test 'Found the value'
#   at t/values/skip-empty.t line 263.
#                   '<html><head></head><body><ul><li class="items">
# Price of <span class="good">first</span> is <span class="price">1,00 EUR</span></li><li class="items">
# Price of <span class="good">second</span> is <span class="price">NOPRICE</span></li><li class="items">
# Price of <span class="good">third</span> is <span class="price">NOPRICE</span></li></ul><p class="offer">10,00 EUR</p><p class="emptyoffer">EMPTY</p></body></html>'
#     doesn't match '(?^:offer">EUR\s+10,00)'
# Looks like you failed 2 tests of 3.

#   Failed test 'currency_filter'
#   at t/values/skip-empty.t line 265.
# Looks like you failed 1 test of 5.
t/values/skip-empty.t .......... 
Dubious, test returned 1 (wstat 256, 0x100)