add test for far future dates

This commit is contained in:
Denis Cornehl 2022-05-02 20:27:05 +02:00
parent 0bf3148db0
commit 32b2c5b2f3
2 changed files with 9 additions and 0 deletions

View File

@ -35,6 +35,13 @@ stderr = { empty = true }
status = 0
tags = [ 'long', 'time' ]
[[cmd]]
name = "exa -l --time-style=relative handles dates far past and future dates"
shell = "exa -l --time-style=relative /testcases/far-dates"
stdout = { file = "outputs/far_dates_relative.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long', 'time' ]
# alternate date formats

View File

@ -0,0 +1,2 @@
.rw-rw-r-- 0 vagrant now beyond-the-future
.rw-rw-r-- 0 vagrant now the-distant-past