Skip to content

Commit

Permalink
docs: all tests are ported
Browse files Browse the repository at this point in the history
  • Loading branch information
lavafroth committed Jul 30, 2024
1 parent cff6b29 commit a926d94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ To see a structured representation of the sample config file after parsing, run
cargo r -- hotkeys.swhkd
```

To run all available tests (some of which are still being ported), run

```
cargo test
```
To run all available tests, run `cargo test`

### Contributing

Expand Down
2 changes: 1 addition & 1 deletion tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ super + shift + b
let known = [
Binding::running("st").on(Definition::new(evdev::Key::KEY_A).with_modifiers(&[Super])),
Binding::running("ts #this comment should be handled by shell")
.on(Definition::new(evdev::Key::KEY_B).with_modifiers(&[Super])),
.on(Definition::new(evdev::Key::KEY_B).with_modifiers(&[Super, Shift])),
];

assert_eq!(parsed.bindings, known);
Expand Down

0 comments on commit a926d94

Please sign in to comment.