aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/tests/ui.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/tests/ui.rs b/testing/tests/ui.rs
new file mode 100644
index 0000000..17c2248
--- /dev/null
+++ b/testing/tests/ui.rs
@@ -0,0 +1,7 @@
+use trybuild::TestCases;
+
+#[cfg_attr(not(windows), test)]
+fn ui() {
+ let t = TestCases::new();
+ t.compile_fail("tests/ui/*.rs");
+}