aboutsummaryrefslogtreecommitdiffstats
path: root/tests/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/main.rs')
-rw-r--r--tests/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/main.rs b/tests/main.rs
index b92bcf7..ca31225 100644
--- a/tests/main.rs
+++ b/tests/main.rs
@@ -7,6 +7,9 @@ fn main() {
match notmuch::Database::open(&mail_path.to_str().unwrap().to_string(), notmuch::DatabaseMode::ReadOnly){
Ok(db) => {
+ let rev = db.revision();
+ println!("db revision: {:?}", rev);
+
let query = db.create_query(&"".to_string()).unwrap();
let mut threads = query.search_threads().unwrap();