speedtest icon indicating copy to clipboard operation
speedtest copied to clipboard

Failed test 'It generated a standard header' (ANSI sequences?)

Open eserte opened this issue 1 year ago • 1 comments

The test fails on some of my smokers (mainly freebsd 13, 14, 15, but not all of them):

#   Failed test 'It generated a standard header'
#   at t/01-help.t line 25.
#                   '[4mSPEEDTEST[24m(1)          User Contributed Perl Documentation         [4mSPEEDTEST[24m(1)
# '
#     doesn't match '(?^i:\bSPEEDTEST\s*\(1\))'
# Looks like you failed 1 test of 8.
t/01-help.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests 

Looks like ANSI sequences which do not cope well with \b and \s.

eserte avatar Dec 19 '23 20:12 eserte

Was already fixed in https://github.com/Tux/speedtest/commit/6512e2a0544251f1682733059860b1109cac9745 on 2023-10-12. I'll do a release

Tux avatar Dec 20 '23 09:12 Tux