daemon tests for gotosocial

This commit is contained in:
Qyriad 2026-03-25 19:12:45 +01:00
parent 7f4a5a35ca
commit ccd37ee169
7 changed files with 201 additions and 129 deletions

View file

@ -195,6 +195,7 @@ impl Daemon {
token
}
#[expect(dead_code)]
fn register_with_name<S>(&mut self, fd: RawFd, kind: FdKind, name: Box<OsStr>) -> Token {
let token = next_token();

View file

@ -231,6 +231,7 @@ pub fn get_next_prio_line(
let penultimate = penultimate.unwrap();
let new_generation = 0 - new_prio;
info!("setting '{option_name}' to '{new_value}' for generation '{new_generation}'");
let new_line = SourceLine {
line: penultimate.line,