From: Ian Jackson Date: Sun, 20 Dec 2020 23:08:43 +0000 (+0000) Subject: thirtyfour_sync wip tests X-Git-Tag: otter-0.2.0~178 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=7a890cf62712b60601a9b139d644db6b593660c2;p=otter.git thirtyfour_sync wip tests Compiles, ready for actual code now I think. Signed-off-by: Ian Jackson --- diff --git a/wdriver/Cargo.toml b/wdriver/Cargo.toml index 63023f9e..9767e407 100644 --- a/wdriver/Cargo.toml +++ b/wdriver/Cargo.toml @@ -10,7 +10,9 @@ license = "AGPL-3.0-or-later" version = "0.0.1" edition = "2018" -[dependencies] +[dev-dependencies] +anyhow = "1" +fehler = "1" thirtyfour_sync = "0.21" [lib] diff --git a/wdriver/lib.rs b/wdriver/lib.rs index ba6a3fea..6433caf9 100644 --- a/wdriver/lib.rs +++ b/wdriver/lib.rs @@ -3,3 +3,12 @@ // There is NO WARRANTY. #![cfg(test)] + +use fehler::throws; + +type AE = anyhow::Error; + +#[test] +#[throws(AE)] +fn simple(){ +}