Csson / p5-Dist-Iller

Other
0 stars 0 forks source link

Hardcoded copyright year causes test failures in 2021 #5

Closed eserte closed 3 years ago

eserte commented 3 years ago

t/03-config.t started to fail today:

#   Failed test 'Copyright year set to current year'
#   at t/03-config.t line 50.
#                   '; This file was auto-generated from iller.yaml by Dist::Iller on 2021-01-01 00:17:08 UTC.
# ; The following configs were used:
# ; * Dist::Iller::Config::DistIllerTestConfig: 0.0001
# 
# name = My-Own-Dist
# author = Erik Carlsson
# author = Ex Ample
# copyright_year = 2021
# 
...
# '
#     doesn't match '(?^:copyright_year = 2020)'
# Looks like you failed 1 test of 23.
t/03-config.t .......... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/23 subtests 
Csson commented 3 years ago

Thanks @eserte! Good thing the change that caused this got deployed yesterday so it was caught today instead of in a year..