Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Apr 25, 2024
1 parent ed11350 commit 2cf5753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/npm_rc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ mod test {
#[test]
fn test_parse_basic() {
// https://docs.npmjs.com/cli/v10/configuring-npm/npmrc#auth-related-configuration
let npm_rc = parse_npm_rc(
let npm_rc = NpmRc::parse(
r#"
@myorg:registry=https://example.com/myorg
@another:registry=https://example.com/another
Expand Down Expand Up @@ -284,7 +284,7 @@ registry=https://registry.npmjs.org/

#[test]
fn test_parse_env_vars() {
let npm_rc = parse_npm_rc(
let npm_rc = NpmRc::parse(
r#"
@myorg:registry=${VAR_FOUND}
@another:registry=${VAR_NOT_FOUND}
Expand Down

0 comments on commit 2cf5753

Please sign in to comment.