diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-11-29 03:36:35 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-12-04 00:33:48 +0530 |
commit | 025d699c002ab9e0c1823dce3e526b70c0fc2280 (patch) | |
tree | defbebda7c97d36d261579fd9fe25e44a23c7cee /mesonrewriter.py | |
parent | cee9638cc43682b6e371cc2becae745876c73bda (diff) | |
download | meson-025d699c002ab9e0c1823dce3e526b70c0fc2280.zip meson-025d699c002ab9e0c1823dce3e526b70c0fc2280.tar.gz meson-025d699c002ab9e0c1823dce3e526b70c0fc2280.tar.bz2 |
unit tests: Use universal_newlines everywhere
This approach is locale-independent and more correct. For instance, this
will work with UTF-16 while the previous approach with binary comparison
would not.
This also removes the need for doing an explicit decode to utf-8 which
is lossy and can fail by yielding no output at all.
Diffstat (limited to 'mesonrewriter.py')
0 files changed, 0 insertions, 0 deletions