mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
tests: sort: add a test for equivalent floats
* tests/sort/sort-float.sh: Ensure equivalent floats are treated as such.
This commit is contained in:
1 parent
3a9ec02138
commit
083f89528e
1 file changed
+3
@@ -94,4 +94,7 @@ $LDBL_MAX
|
||||
compare exp out || fail=1
|
||||
done
|
||||
|
||||
# Ensure equal floats are treated as such
|
||||
test $(printf '%s\n' 10 1e1 | sort -gu | wc -l) = 1 || fail=1
|
||||
|
||||
Exit $fail
|
||||
Reference in new issue
Block a user