diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-01-09 11:40:50 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-01-14 10:47:19 +0100 |
commit | e0be3ab28ed5ce028555ed7ef2f25d2964dc81a5 (patch) | |
tree | bb85d9b4af6902d53d4236d9e97e7cc05f4b0f2a /dist/changes-4.1.0-rc1 | |
parent | 7b3d0abfa25676c34808e714d4f0cccc6b6bb885 (diff) |
Combine negativeYear() and printNegativeYear()
They overlapped and the latter had duplicated code, so make them into
a single data-driven test. At the same time, replace the '-' at the
start of the expected string with QLocale::negativeSign(), since the
test fails otherwise when LC_NUMERIC=nb_NO on Linux (Debian/testing).
Change-Id: I051c75abff16b2e6f8278fcb152b6bde14c71f9a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'dist/changes-4.1.0-rc1')
0 files changed, 0 insertions, 0 deletions