summaryrefslogtreecommitdiffstats
path: root/tests/bool.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bool.rs')
-rw-r--r--tests/bool.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bool.rs b/tests/bool.rs
new file mode 100644
index 0000000..17d23e8
--- /dev/null
+++ b/tests/bool.rs
@@ -0,0 +1,11 @@
+mod common;
+use common::DummyBackend;
+
+use interactive_object_builder::*;
+
+#[test]
+fn test_build_value() {
+ let v = bool::builder(DummyBackend).build_value("Are you sure?").unwrap();
+ assert!(v);
+}
+