details-view-dates.toml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # alternate date formats
  2. [[cmd]]
  3. name = "‘exa -l --time-style=long-iso’ produces a table using the long-iso date format"
  4. shell = "exa -l --time-style=long-iso /testcases/dates"
  5. stdout = { file = "outputs/dates_long_timestyle_longiso.ansitxt" }
  6. stderr = { empty = true }
  7. status = 0
  8. tags = [ 'long', 'time-style' ]
  9. [[cmd]]
  10. name = "‘exa -l --time-style=full-iso’ produces a table using the full-iso date format"
  11. shell = "exa -l --time-style=full-iso /testcases/dates"
  12. stdout = { file = "outputs/dates_long_timestyle_fulliso.ansitxt" }
  13. stderr = { empty = true }
  14. status = 0
  15. tags = [ 'long', 'time-style' ]
  16. [[cmd]]
  17. name = "‘exa -l --time-style=iso’ produces a table using the iso date format"
  18. shell = "exa -l --time-style=iso /testcases/dates"
  19. stdout = { file = "outputs/dates_long_timestyle_iso.ansitxt" }
  20. stderr = { empty = true }
  21. status = 0
  22. tags = [ 'long', 'time-style' ]
  23. # locales
  24. [[cmd]]
  25. name = "‘exa -l’ using a locale with 4-character-long month abbreviations (‘ja_JP’) sizes the date column correctly"
  26. shell = "exa -l /testcases/dates"
  27. environment = { LC_ALL = "ja_JP.UTF-8", LANG = "ja_JP.UTF-8" }
  28. stdout = { file = "outputs/dates_long_localejp.ansitxt" }
  29. stderr = { empty = true }
  30. status = 0
  31. tags = [ 'long', 'locales' ]
  32. [[cmd]]
  33. name = "‘exa -l’ using a locale with 5-character-long month abbreviations (‘fr_FR’) sizes the date column correctly"
  34. shell = "exa -l /testcases/dates"
  35. environment = { LC_ALL = "fr_FR.UTF-8", LANG = "fr_FR.UTF-8" }
  36. stdout = { file = "outputs/dates_long_localefr.ansitxt" }
  37. stderr = { empty = true }
  38. status = 0
  39. tags = [ 'long', 'locales' ]