chiark / gitweb /
thirtyfour_sync wip tests
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 20 Dec 2020 23:08:43 +0000 (23:08 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 20 Dec 2020 23:08:48 +0000 (23:08 +0000)
Compiles, ready for actual code now I think.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
wdriver/Cargo.toml
wdriver/lib.rs

index 63023f9efceb0538fe769463b985b259e22dbe7f..9767e407f8466f6bdc814ee869b9462e0784c922 100644 (file)
@@ -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]
index ba6a3feacf47346b5bb7a3e0a68011d654d3dc49..6433caf94c01170e80d490a7d6993e9da67afb8d 100644 (file)
@@ -3,3 +3,12 @@
 // There is NO WARRANTY.
 
 #![cfg(test)]
+
+use fehler::throws;
+
+type AE = anyhow::Error;
+
+#[test]
+#[throws(AE)]
+fn simple(){
+}