From 88ffd21014282fb587c632a3bdff56d208f21cfd Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 12 Sep 2022 03:02:31 +0900 Subject: [PATCH] test-date: do not fail even on ~50 years later Fixes #16181. --- src/test/test-date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test-date.c b/src/test/test-date.c index b3b902e64b..097066b61a 100644 --- a/src/test/test-date.c +++ b/src/test/test-date.c @@ -91,7 +91,7 @@ int main(int argc, char *argv[]) { test_should_parse("1970-1-1 UTC"); test_should_pass("1970-1-1 00:00:01 UTC"); test_should_fail("1969-12-31 UTC"); - test_should_fail("-100y"); + test_should_fail("-1000y"); test_should_fail("today UTC UTC"); test_should_fail("now Asia/Seoul"); test_should_fail("+2d Asia/Seoul");