summaryrefslogtreecommitdiffstats
path: root/tests/db.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/db.rs')
-rw-r--r--tests/db.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/db.rs b/tests/db.rs
index d750b5a..31f4326 100644
--- a/tests/db.rs
+++ b/tests/db.rs
@@ -1,8 +1,3 @@
-//! Schema and writer-actor tests (DESIGN.md §11, §11a).
-//!
-//! These are the parts of the §2 invariant set that are database guarantees
-//! rather than code conventions.
-
mod common;
use common::{params, Env, P};
@@ -240,9 +235,7 @@ fn i1_query_flags_index_entries_without_approval() {
#[test]
fn a_setting_that_is_absent_is_the_default_and_one_that_is_nonsense_falls_back() {
- // m-9: the policy is now stated — absent means default, nonsense means
- // default *and a complaint*, because a typo in a knob that silently does
- // nothing is worse than a knob that refuses to apply.
+ // m-9: absent means default, nonsense means default *and a complaint*.
let env = Env::new();
assert_eq!(db::setting_i64(&env.db, "stage_b_cooldown", 86400), 86400);
db::set_setting(&env.db.writer, "stage_b_cooldown", "86400x").unwrap();