зеркало из
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
Этот коммит содержится в:
@@ -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.
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user