From 2cf57539788b7a649e9e6e200abaf7d0346a11d2 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 25 Apr 2024 11:59:17 -0400 Subject: [PATCH] fix --- src/npm_rc/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/npm_rc/mod.rs b/src/npm_rc/mod.rs index 5eb63a7..e110561 100644 --- a/src/npm_rc/mod.rs +++ b/src/npm_rc/mod.rs @@ -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 @@ -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}