Mercurial > vim
view src/testdir/test21.in @ 31604:9b13b3a63bc0 v9.0.1134
patch 9.0.1134: comparing objects uses identity instead of equality
Commit: https://github.com/vim/vim/commit/bcf31ec36b4b056bf06d21036640c6f0235e9c2b
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 2 20:32:24 2023 +0000
patch 9.0.1134: comparing objects uses identity instead of equality
Problem: Comparing objects uses identity instead of equality.
Solution: Compare the object values.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 02 Jan 2023 21:45:02 +0100 |
parents | 30bdd2e4a6f9 |
children |
line wrap: on
line source
Tests for file with some lines ending in CTRL-M, some not STARTTEST :set ta tx :e! :$-3,$w! test.out :qa! ENDTEST this lines ends in a this one doesn't this one does and the last one doesn't