Skip to content

Commit ea1a7c3

Browse files
committed
fix tests
1 parent 3f65e23 commit ea1a7c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/db_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fn test_locate_match_basename() {
6060
fn test_locate_existing() {
6161
Command::cargo_bin("locate")
6262
.expect("couldn't find locate binary")
63-
.args(["abbbc", "--existing", "--database={DB}"])
63+
.args(["abbbc", "--existing", DB_FLAG])
6464
.assert()
6565
.success();
6666
}
@@ -122,7 +122,7 @@ fn test_updatedb() {
122122
.expect("couldn't find updatedb binary")
123123
.args([
124124
fix_up_slashes("--localpaths=./test_data"),
125-
fix_up_slashes("--output=./test_data_db"),
125+
fix_up_slashes("--output=/dev/null"),
126126
])
127127
.assert()
128128
.success();

0 commit comments

Comments
 (0)