Skip to content

Commit d3b5a29

Browse files
committed
Fix spelling and formatting
1 parent 6adae51 commit d3b5a29

5 files changed

Lines changed: 9 additions & 7 deletions

File tree

.vscode/cspell.dictionaries/acronyms+names.wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,4 @@ Yargs
7474

7575
# Product
7676
codspeed
77+
wasmtime

.vscode/cspell.dictionaries/jargon.wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ SIGTTOU
158158
sigttou
159159
sigusr
160160
strcasecmp
161+
strcoll
161162
subcommand
162163
subexpression
163164
submodule

tests/by-util/test_comm.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -464,9 +464,7 @@ fn test_sorted() {
464464
cmd.failure()
465465
.code_is(1)
466466
.stdout_is("1\n\t\t3\n\t2\n")
467-
.stderr_is(
468-
"comm: file 2 is not in sorted order\ncomm: input is not in sorted order\n",
469-
);
467+
.stderr_is("comm: file 2 is not in sorted order\ncomm: input is not in sorted order\n");
470468
}
471469
}
472470

tests/by-util/test_wc.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -812,9 +812,7 @@ fn files0_from_dir() {
812812
#[cfg(not(windows))]
813813
const DOT_ERR: &str = dir_err!(".");
814814

815-
let cmd = new_ucmd!()
816-
.args(&["--files0-from=dir with spaces"])
817-
.fails();
815+
let cmd = new_ucmd!().args(&["--files0-from=dir with spaces"]).fails();
818816
if wasm {
819817
cmd.stderr_contains("wc: 'dir with spaces': read error:");
820818
} else {

tests/uutests/src/lib/util.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1846,7 +1846,11 @@ impl UCommand {
18461846
// apply to the coreutils binary under test, not to helper commands like
18471847
// sh or seq that should run natively on the host.
18481848
let wasm_runner = env::var("UUTESTS_WASM_RUNNER").ok().filter(|_| {
1849-
self.bin_path.as_deref() == env::var("UUTESTS_BINARY_PATH").ok().map(PathBuf::from).as_deref()
1849+
self.bin_path.as_deref()
1850+
== env::var("UUTESTS_BINARY_PATH")
1851+
.ok()
1852+
.map(PathBuf::from)
1853+
.as_deref()
18501854
});
18511855

18521856
// Collect environment variables for the command.

0 commit comments

Comments
 (0)