summary refs log tree commit diff stats
path: root/tests/trybuild.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/trybuild.rs')
-rw-r--r--tests/trybuild.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/trybuild.rs b/tests/trybuild.rs
new file mode 100644
index 0000000..870c2f9
--- /dev/null
+++ b/tests/trybuild.rs
@@ -0,0 +1,5 @@
+#[test]
+fn ui() {
+    let t = trybuild::TestCases::new();
+    t.compile_fail("tests/ui/*.rs");
+}