tide/tests/_tide_item_time.test.fish
Toni Müller 3e15d0d242
Fix failing tests (#381)
* Fixed git test and time test

* investigate failing ubuntu tests

* Try another fix
2023-02-18 08:38:56 -08:00

16 lines
276 B
Fish

# RUN: %fish %s
_tide_parent_dirs
function _time -a format
LC_TIME=en_US.UTF-8 _tide_decolor (tide_time_format="$format" _tide_item_time)
end
# None
_time '' # CHECK:
# 24 Hour
_time %T # CHECK: {{\d\d:\d\d:\d\d}}
# 12 Hour
_time %r # CHECK: {{\d\d:\d\d:\d\d (A|P)M}}