chore: update to edition 2024; update packages; rename some stuff
This commit is contained in:
parent
82e52bc8f9
commit
275d249320
48 changed files with 359 additions and 208 deletions
|
|
@ -65,17 +65,21 @@ fn test_remove_session() {
|
|||
.insert_session(&new_session)
|
||||
.expect("insert session shouldn't fail");
|
||||
|
||||
assert!(store
|
||||
.get_session(123)
|
||||
.expect("get session shouldn't fail")
|
||||
.is_some());
|
||||
assert!(
|
||||
store
|
||||
.get_session(123)
|
||||
.expect("get session shouldn't fail")
|
||||
.is_some()
|
||||
);
|
||||
|
||||
store.remove_session(123).expect("remove shouldn't fail");
|
||||
|
||||
assert!(store
|
||||
.get_session(123)
|
||||
.expect("get session shouldn't fail")
|
||||
.is_none());
|
||||
assert!(
|
||||
store
|
||||
.get_session(123)
|
||||
.expect("get session shouldn't fail")
|
||||
.is_none()
|
||||
);
|
||||
|
||||
common::teardown(path);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
use gpodder::{AuthStore, User};
|
||||
use gpodder_sqlite::SqliteRepository;
|
||||
|
||||
use rand::{distributions::Alphanumeric, Rng};
|
||||
use rand::{Rng, distributions::Alphanumeric};
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue