diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-19 23:36:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-19 23:36:15 +0100 |
commit | f7edf40448a09e04eec3bd05e043f7fea93b07c9 (patch) | |
tree | 044c6550e8bb32b9291c1bc4ba717e46670a1453 /src/testdir/test57.ok | |
parent | b8060fe862f684b591f9ac679eac5b2594d6c5a0 (diff) | |
download | vim-git-f7edf40448a09e04eec3bd05e043f7fea93b07c9.tar.gz |
patch 7.4.1143v7.4.1143
Problem: Can't sort on floating point numbers.
Solution: Add the "f" flag to ":sort". (Alex Jakushev) Also add the "f"
flag to sort().
Diffstat (limited to 'src/testdir/test57.ok')
-rw-r--r-- | src/testdir/test57.ok | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/testdir/test57.ok b/src/testdir/test57.ok index 2ac5e59e2..452acf1fc 100644 --- a/src/testdir/test57.ok +++ b/src/testdir/test57.ok @@ -453,6 +453,8 @@ c321d b322b b321 b321b + + t28: binary @@ -487,4 +489,13 @@ a0b101001 0b101010 b0b101100 b0b111000 -t30: done +t30: float + + +-1.1e3 +-1.01e3 +1.15e-6 +0.88 +1.234 +123.456 +t31: done |