Skip to content

Commit

Permalink
chore: fix test fixture for new redact behavior
Browse files Browse the repository at this point in the history
It does not normalize the url when redacting
  • Loading branch information
wraithgar committed Apr 30, 2024
1 parent 80eec03 commit 356c374
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tap-snapshots/test/lib/utils/error-message.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ Object {
"r",
"g",
"s",
"https://evil:***@npmjs.org/",
"https://evil:***@npmjs.org",
],
Array [
"",
Expand Down
2 changes: 1 addition & 1 deletion test/lib/cli/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ t.test('logged argv is sanitized with equals', async t => {
})
await cli(process)

t.match(logs.verbose.byTitle('argv'), ['argv "version" "--registry" "https://u:***@npmjs.org/"'])
t.match(logs.verbose.byTitle('argv'), ['argv "version" "--registry" "https://u:***@npmjs.org"'])
})

t.test('print usage if no params provided', async t => {
Expand Down

0 comments on commit 356c374

Please sign in to comment.