Skip to content

Commit 9e397c0

Browse files
committed
test(bregctl): check the dev install hint without depending on which variables are set
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
1 parent b73c01f commit 9e397c0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • crates/registry-bregctl/src/project_dev

‎crates/registry-bregctl/src/project_dev/mod.rs‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,8 +1364,10 @@ mod tests {
13641364

13651365
#[test]
13661366
fn a_missing_binary_names_the_install_command() {
1367-
let error = binaries(Product::Casework).err().unwrap().to_string();
1367+
let error = binary(Product::Casework, "RSTACK_DEV_TEST_UNSET_BIN")
1368+
.unwrap_err()
1369+
.to_string();
13681370
assert!(error.contains("rstack install casework"), "{error}");
1369-
assert!(error.contains("RSTACK_CASEWORK_BIN"), "{error}");
1371+
assert!(error.contains("RSTACK_DEV_TEST_UNSET_BIN"), "{error}");
13701372
}
13711373
}

0 commit comments

Comments
 (0)