colorls/spec
Claudio Bley d4110e4ac7 Officially support Windows
On Windows, MRI Ruby uses the `FindFirstFileW` et. al. kind of functions with
wide character paths and constantly converts from multi-byte to wide character
encoding back and forth when calling any methods on `File` or `Dir`.

This means that when using `Encoding::ASCII_8BIT` for reading directory entries,
that this does not round trip properly, if a file name contains unicode
characters. That is because Ruby assumes the path string is encoded in Windows
Codepage 1252[1].

* skip symlink test if files were checked out from git as textual symlinks on
  Windows
* use UTF-8 encoding on Windows, since this properly round-trips between
  multi-byte and wide character encoding
* travis: windows job no longer is allowed to fail

[1]: 946cd6c534/win32/file.c (L131-L134)
2020-10-09 18:26:50 +02:00
..
color_ls Officially support Windows 2020-10-09 18:26:50 +02:00
fixtures Use ASCII_8BIT for paths and directory entries 2020-04-16 21:58:39 +02:00
support Update file_aliases.yaml to reflect sorted version 2017-07-10 00:13:14 +08:00
color_ls_spec.rb Add rubocop-rspec as a dev dependency. Fix non-directory changing fixes 2017-11-07 19:22:37 -05:00
spec_helper.rb spec: Exclude specs from coverage 2019-01-04 13:45:25 +01:00