mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-28 01:00:28 +03:00
dbcddafbfd
The previous implementation could yield different positions when iterating forward and backward, leading to confusion in boost regex. This makes an existing problem a bit more visible: iterating with to_next and with read_codepoint wont behave the same way, as read_codepoint will put the iterator onto the byte following the utf8 codepoint, whereas to_next will put it on the next utf8 character start byte, which might be different if the buffer content is not valid utf8. Fixes #1195 |
||
---|---|---|
.. | ||
compose | ||
highlight/regions | ||
indent | ||
regression | ||
unit | ||
README.asciidoc | ||
run |
Regression test
===============
:unified-context-diff: https://en.wikipedia.org/wiki/Diff#Unified_format
Source structure
----------------
----------------------------------------------
.
├── unit
│ └── …
└── compose
└── …
├── cmd → command
├── [in] → start file
├── [out] → end file
├── [selections] → selection contents
├── [state] → selection states
└── [rc] → configuration
----------------------------------------------
Usage
-----
To test, just type +run [test]+ in the +test+ directory.
It will print each passing test. If a test fails, a {unified-context-diff}[unified context diff]
is printed showing the test’s expected output and the actual output.