From dce2a13da015f1953977516c5eac9ba36809218e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 24 Feb 2021 23:59:24 +0000 Subject: [PATCH] tests: tidy up debug Signed-off-by: Ian Jackson --- apitest/at-otter.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); -- 2.30.2