mirror of
https://github.com/eza-community/eza
synced 2024-10-02 22:23:45 +00:00
add test for far future dates
This commit is contained in:
parent
0bf3148db0
commit
32b2c5b2f3
|
@ -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
|
||||
|
||||
|
|
2
xtests/outputs/far_dates_relative.ansitxt
Normal file
2
xtests/outputs/far_dates_relative.ansitxt
Normal file
|
@ -0,0 +1,2 @@
|
|||
.rw-rw-r-- 0 vagrant now beyond-the-future
|
||||
.rw-rw-r-- 0 vagrant now the-distant-past
|
Loading…
Reference in a new issue