1
0
зеркало из https://github.com/glebtv/tui-textarea.git synced 2026-08-28 11:36:17 +03:00

add unit tests for converting backend input events into Input

Этот коммит содержится в:
rhysd
2023-10-25 21:14:50 +09:00
родитель 60ed6f8693
Коммит 18d709f1d9
7 изменённых файлов: 376 добавлений и 48 удалений

Просмотреть файл

@@ -28,11 +28,13 @@ cargo test --features=search
To run linters:
```sh
cargo clippy --features=search --tests --examples
cargo clippy --features=tuirs-crossterm,search --no-default-features --tests --examples
cargo clippy --features=search,termwiz,termion --tests --examples
cargo clippy --features=tuirs-crossterm,tuirs-termion,search --no-default-features --tests --examples
cargo fmt -- --check
```
Note: On Windows, remove `termion` and `tuirs-termion` features from `--features` argument since termion doesn't support Windows.
If you use [cargo-watch][], `cargo watch-check` and `cargo watch-test` aliases are useful to run checks/tests automatically
on files being changed.