Skip to content

Commit

Permalink
Make regression test locale-independent
Browse files Browse the repository at this point in the history
C.UTF-8 sorts upper/lower case differently than de_DE.utf8 and friends
  • Loading branch information
df7cb committed Jan 9, 2017
1 parent 7f3edc6 commit dcd9116
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion expected/unit.out
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ FROM
WHERE
u <> 'kg' AND
dimension(u::unit) != dimension((p||u)::unit)
ORDER BY p, u;
ORDER BY lower(p), lower(u);
p | u | unit
---+----+----------
c | d | 1 cd
Expand Down
2 changes: 1 addition & 1 deletion sql/unit.sql
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ FROM
WHERE
u <> 'kg' AND
dimension(u::unit) != dimension((p||u)::unit)
ORDER BY p, u;
ORDER BY lower(p), lower(u);

0 comments on commit dcd9116

Please sign in to comment.