Skip to content

Commit 1cc0a4b

Browse files
committed
fix(tests): update expected exit code for bad URL test case
1 parent baaeb60 commit 1cc0a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ fn lock_and_source_github_tag() -> io::Result<()> {
319319
fn lock_and_source_github_bad_url() -> io::Result<()> {
320320
let case = TestCase::load("github_bad_url")?;
321321
case.write_config_file("plugins.toml")?;
322-
case.command("lock").expect_exit_code(2).run()?;
322+
case.command("lock").expect_exit_code(12).run()?;
323323
assert!(!case.dirs.data.join("plugins.lock").exists());
324324
case.command("source").run()?;
325325
assert!(!case.dirs.data.join("plugins.lock").exists());

0 commit comments

Comments
 (0)