From 0ad958fe1cb811699caca235f361c8328baac8c4 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 18 Dec 2020 09:28:14 +0200 Subject: (docs,test): assorted typo fixes PR-URL: https://github.com/npm/cli/pull/2381 Credit: @XhmikosR Close: #2381 Reviewed-by: @isaacs --- tap-snapshots/test-lib-config.js-TAP.test.js | 2 +- tap-snapshots/test-lib-ls.js-TAP.test.js | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'tap-snapshots') diff --git a/tap-snapshots/test-lib-config.js-TAP.test.js b/tap-snapshots/test-lib-config.js-TAP.test.js index 1794dc4fa..d62969145 100644 --- a/tap-snapshots/test-lib-config.js-TAP.test.js +++ b/tap-snapshots/test-lib-config.js-TAP.test.js @@ -129,7 +129,7 @@ long = false ; Run \`npm config ls -l\` to show all defaults. ` -exports[`test/lib/config.js TAP config list overrides > should list overriden configs 1`] = ` +exports[`test/lib/config.js TAP config list overrides > should list overridden configs 1`] = ` ; "cli" config from command line options editor = "vi" diff --git a/tap-snapshots/test-lib-ls.js-TAP.test.js b/tap-snapshots/test-lib-ls.js-TAP.test.js index cded6fa5a..120a65baf 100644 --- a/tap-snapshots/test-lib-ls.js-TAP.test.js +++ b/tap-snapshots/test-lib-ls.js-TAP.test.js @@ -187,7 +187,7 @@ exports[`test/lib/ls.js TAP ls --parseable --production > should output tree con {CWD}/ls-ls-parseable--production/node_modules/prod-dep/node_modules/bar ` -exports[`test/lib/ls.js TAP ls --parseable cycle deps > should print tree output ommiting deduped ref 1`] = ` +exports[`test/lib/ls.js TAP ls --parseable cycle deps > should print tree output omitting deduped ref 1`] = ` {CWD}/ls-ls-parseable-cycle-deps {CWD}/ls-ls-parseable-cycle-deps/node_modules/a {CWD}/ls-ls-parseable-cycle-deps/node_modules/b @@ -287,11 +287,11 @@ exports[`test/lib/ls.js TAP ls --parseable using aliases > should output tree co {CWD}/ls-ls-parseable-using-aliases/node_modules/a ` -exports[`test/lib/ls.js TAP ls --parseable with filter arg > should output parseable contaning only occurences of filtered by package 1`] = ` +exports[`test/lib/ls.js TAP ls --parseable with filter arg > should output parseable contaning only occurrences of filtered by package 1`] = ` {CWD}/ls-ls-parseable-with-filter-arg/node_modules/lorem ` -exports[`test/lib/ls.js TAP ls --parseable with filter arg nested dep > should output parseable contaning only occurences of filtered package 1`] = ` +exports[`test/lib/ls.js TAP ls --parseable with filter arg nested dep > should output parseable contaning only occurrences of filtered package 1`] = ` {CWD}/ls-ls-parseable-with-filter-arg-nested-dep/node_modules/bar ` @@ -299,7 +299,7 @@ exports[`test/lib/ls.js TAP ls --parseable with missing filter arg > should outp ` -exports[`test/lib/ls.js TAP ls --parseable with multiple filter args > should output parseable contaning only occurences of multiple filtered packages and their ancestors 1`] = ` +exports[`test/lib/ls.js TAP ls --parseable with multiple filter args > should output parseable contaning only occurrences of multiple filtered packages and their ancestors 1`] = ` {CWD}/ls-ls-parseable-with-multiple-filter-args/node_modules/lorem {CWD}/ls-ls-parseable-with-multiple-filter-args/node_modules/bar ` @@ -319,8 +319,8 @@ npm-broken-resolved-field-test@1.0.0 {CWD}/ls-ls-broken-resolved-field ` -exports[`test/lib/ls.js TAP ls coloured output > should output tree containing color info 1`] = ` -test-npm-ls@1.0.0 {CWD}/ls-ls-coloured-output +exports[`test/lib/ls.js TAP ls colored output > should output tree containing color info 1`] = ` +test-npm-ls@1.0.0 {CWD}/ls-ls-colored-output +-- foo@1.0.0 invalid | \`-- bar@1.0.0 +-- UNMET DEPENDENCY ipsum@^1.0.0 @@ -550,19 +550,19 @@ dedupe-entries@1.0.0 {CWD}/ls-ls-with-args-and-different-order-of-items ` -exports[`test/lib/ls.js TAP ls with dot filter arg > should output tree contaning only occurences of filtered by package and coloured output 1`] = ` +exports[`test/lib/ls.js TAP ls with dot filter arg > should output tree contaning only occurrences of filtered by package and colored output 1`] = ` test-npm-ls@1.0.0 {CWD}/ls-ls-with-dot-filter-arg \`-- (empty) ` -exports[`test/lib/ls.js TAP ls with filter arg > should output tree contaning only occurences of filtered by package and coloured output 1`] = ` +exports[`test/lib/ls.js TAP ls with filter arg > should output tree contaning only occurrences of filtered by package and colored output 1`] = ` test-npm-ls@1.0.0 {CWD}/ls-ls-with-filter-arg \`-- lorem@1.0.0  ` -exports[`test/lib/ls.js TAP ls with filter arg nested dep > should output tree contaning only occurences of filtered package and its ancestors 1`] = ` +exports[`test/lib/ls.js TAP ls with filter arg nested dep > should output tree contaning only occurrences of filtered package and its ancestors 1`] = ` test-npm-ls@1.0.0 {CWD}/ls-ls-with-filter-arg-nested-dep \`-- foo@1.0.0 \`-- bar@1.0.0 @@ -575,7 +575,7 @@ test-npm-ls@1.0.0 {CWD}/ls-ls-with-missing-filter-arg ` -exports[`test/lib/ls.js TAP ls with multiple filter args > should output tree contaning only occurences of multiple filtered packages and their ancestors 1`] = ` +exports[`test/lib/ls.js TAP ls with multiple filter args > should output tree contaning only occurrences of multiple filtered packages and their ancestors 1`] = ` test-npm-ls@1.0.0 {CWD}/ls-ls-with-multiple-filter-args +-- foo@1.0.0 | \`-- bar@1.0.0 -- cgit v1.2.3