Skip to content

Commit ab4a656

Browse files
committed
edit test
1 parent f366712 commit ab4a656

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

crates/tests/src/lib.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,8 +1467,14 @@ async fn test_set() {
14671467
async fn test_reserved_substring() {
14681468
// Test that there is no panic (prefix-dev/shell#256)
14691469
TestBuilder::new()
1470-
.command(r#"find . -name 'platform*'"#)
1471-
.assert_exit_code(1)
1470+
.command(r#"fiqwertymnbvc bla"#)
1471+
.assert_exit_code(127)
1472+
.run()
1473+
.await;
1474+
1475+
TestBuilder::new()
1476+
.command(r#"forplmoknib bla"#)
1477+
.assert_exit_code(127)
14721478
.run()
14731479
.await;
14741480
}

0 commit comments

Comments
 (0)