From: Ian Jackson Date: Wed, 24 Feb 2021 23:59:24 +0000 (+0000) Subject: tests: tidy up debug X-Git-Tag: otter-0.4.0~369 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=dce2a13da015f1953977516c5eac9ba36809218e;p=otter.git tests: tidy up debug Signed-off-by: Ian Jackson --- diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index 9ba4a7eb..94240d0e 100644 --- a/apitest/at-otter.rs +++ b/apitest/at-otter.rs @@ -30,7 +30,7 @@ impl Ctx { ensure_eq!(resp.status(), 200); let body = resp.text()?; let dom = scraper::Html::parse_document(&body); - dbg!(&body, &dom); + //dbg!(&body, &dom); let ptoken = dom .select(&"#loading_token".try_into().unwrap()) .next().unwrap() @@ -44,7 +44,7 @@ impl Ctx { ensure_eq!(resp.status(), 200); let body = resp.text()?; let dom = scraper::Html::parse_document(&body); - dbg!(&body, &dom); + //dbg!(&body, &dom); let ctoken = dom .select(&"#main-body".try_into().unwrap()) @@ -73,7 +73,7 @@ impl Ctx { eprintln!("copy_to'ing"); sse.copy_to(&mut writer).unwrap(); eprintln!("copy_to'd!"); - }); + }); thread::spawn(move ||{ eprintln!("copying"); std::io::copy(&mut reader, &mut std::io::stderr()).unwrap();