We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97a0ed1 commit 2beddd0Copy full SHA for 2beddd0
1 file changed
impl/rust-cli/fuzz/fuzz_targets/fuzz_state_machine.rs
@@ -51,7 +51,7 @@ fuzz_target!(|data: &[u8]| {
51
Err(_) => return,
52
};
53
54
- let mut state = match ShellState::new(temp.path()) {
+ let mut state = match ShellState::new(temp.path().to_str().unwrap()) {
55
Ok(s) => s,
56
57
@@ -75,7 +75,7 @@ fuzz_target!(|data: &[u8]| {
75
let _ = rm(&mut state, &target, true);
76
}
77
Action::Undo => {
78
- let _ = state.pop_undo();
+ let _ = state.pop_redo();
79
80
Action::Redo => {
81
let _ = state.pop_redo();
@@ -95,7 +95,7 @@ fuzz_target!(|data: &[u8]| {
95
.map(|e| e.count())
96
.unwrap_or(0);
97
98
- while state.pop_undo().is_ok() {
+ while state.pop_redo().is_ok() {
99
// Keep undoing
100
101
0 commit comments