Skip Menu |

This queue is for tickets about the Template-Plugin-xkcd CPAN distribution.

Report information
The Basics
Id: 120046
Status: resolved
Priority: 0/
Queue: Template-Plugin-xkcd

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.003
Fixed in: (no value)



Subject: Tests started to fail (http vs. https?)
My smoker systems started to report the following failures: ... # Failed test 'Got 20th comic image' # at t/module.t line 20. # '<img src="https://imgs.xkcd.com/comics/ferret.jpg" alt="My brother had a ferret he loved which died since I drew this strip. RIP." />' # doesn't match '(?^:<img src="http://imgs.xkcd.com/comics/ferret.jpg" alt=".*" />)' # Looks like you failed 1 test of 4. t/module.t .............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/4 subtests ... # Failed test 'Found an image' # at t/render.t line 39. # ' # # Hello Sawyer # <img src="https://imgs.xkcd.com/comics/ferret.jpg" alt="My brother had a ferret he loved which died since I drew this strip. RIP." /> # ' # doesn't match '(?^:http://imgs\.xkcd\.com/comics/ferret\.jpg)' # Looks like you failed 1 test of 6. t/render.t .............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/6 subtests ... It seems that the xkcd site changed to use https.
On Tue Jan 31 02:30:18 2017, SREZIC wrote: Show quoted text
> My smoker systems started to report the following failures: > > ... > # Failed test 'Got 20th comic image' > # at t/module.t line 20. > # '<img > src="https://imgs.xkcd.com/comics/ferret.jpg" alt="My brother had a > ferret he loved which died since I drew this strip. RIP." />' > # doesn't match '(?^:<img > src="http://imgs.xkcd.com/comics/ferret.jpg" alt=".*" />)' > # Looks like you failed 1 test of 4. > t/module.t .............. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/4 subtests > ... > # Failed test 'Found an image' > # at t/render.t line 39. > # ' > # > # Hello Sawyer > # <img src="https://imgs.xkcd.com/comics/ferret.jpg" alt="My brother > had a ferret he loved which died since I drew this strip. RIP." /> > # ' > # doesn't match '(?^:http://imgs\.xkcd\.com/comics/ferret\.jpg)' > # Looks like you failed 1 test of 6. > t/render.t .............. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/6 subtests > ... > > > It seems that the xkcd site changed to use https.
Sorry about that! I just fixed it and released a new version: 0.004. Thanks! :) <3