diff options
Diffstat (limited to 'tests/invariants.rs')
| -rw-r--r-- | tests/invariants.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/invariants.rs b/tests/invariants.rs index a083a89..ceaddc4 100644 --- a/tests/invariants.rs +++ b/tests/invariants.rs @@ -442,7 +442,7 @@ fn i9_a_build_cannot_smuggle_bytes_in_from_outside_its_own_staging_dir() { store_before, "the store must be untouched by a refused build" ); - assert_eq!(builds::get(&env.db, &id).unwrap().unwrap().state, build_state::FAILED); + assert_eq!(builds::get(&env.db, &id).unwrap().unwrap().state, BuildState::Failed); assert!(db::index_version(&env.db, "plain-make").unwrap().is_none(), "nothing publishes from a failed build"); // And the database itself is intact — the build read it, it did not become it. assert!(secret.exists()); |
