diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2022-06-10 20:03:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-10 20:03:13 +0200 |
| commit | 67d2673cae60954e8287c2a1f58a21a56e066afb (patch) | |
| tree | 5c469728075ea59723951c6b535253e30ebeaec4 /src/tests | |
| parent | add: typos (diff) | |
| download | sl0ppij-67d2673cae60954e8287c2a1f58a21a56e066afb.tar.gz sl0ppij-67d2673cae60954e8287c2a1f58a21a56e066afb.tar.xz sl0ppij-67d2673cae60954e8287c2a1f58a21a56e066afb.zip | |
add(style): add trailing comma in match blocks (#1483)
This makes it easier to distinguish from normal blocks
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/e2e/remote_runner.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/e2e/remote_runner.rs b/src/tests/e2e/remote_runner.rs index ad15de22..eb9b3315 100644 --- a/src/tests/e2e/remote_runner.rs +++ b/src/tests/e2e/remote_runner.rs @@ -201,7 +201,7 @@ fn read_from_channel( terminal_output.cursor_coordinates().unwrap_or((0, 0)); *last_snapshot = current_snapshot; should_sleep = true; - } + }, Ok(count) => { for byte in buf.iter().take(count) { vte_parser.advance(&mut terminal_output.grid, *byte); @@ -212,7 +212,7 @@ fn read_from_channel( terminal_output.grid.cursor_coordinates().unwrap_or((0, 0)); *last_snapshot = current_snapshot; should_sleep = true; - } + }, Err(e) => { if e.kind() == std::io::ErrorKind::WouldBlock { let current_snapshot = take_snapshot(&mut terminal_output); @@ -226,7 +226,7 @@ fn read_from_channel( } else { break; } - } + }, } } } |
