Skip to content

Commit 0cd7102

Browse files
codexmxcl
authored andcommitted
test: avoid assuming populated embedded db
Signed-off-by: Max Howell <mxcl@me.com>
1 parent 76a12e3 commit 0cd7102

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6887,7 +6887,7 @@ long_prefix = re.compile(r'/opt/python@3.12/[0-9\\._abrc]+')\n"
68876887
fn load_db_and_schema_checks_embedded_inventory() {
68886888
let db = load_db().unwrap();
68896889
ensure_db_schema(&db).unwrap();
6890-
assert!(db.entries.contains_key("ffmpeg"));
6890+
assert_eq!(db.schema, DB_SCHEMA_VERSION);
68916891

68926892
let bad = Db {
68936893
schema: DB_SCHEMA_VERSION + 1,

0 commit comments

Comments
 (0)