summaryrefslogtreecommitdiff
path: root/tests/get.rs
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2023-04-17 01:20:40 -0400
committerJohn Turner <jturner.usa@gmail.com>2023-04-17 01:20:40 -0400
commit26e662f5629da3683549594cf8551e018f49309c (patch)
tree94e53ea239d493b3e0076668f51dcf70065677a6 /tests/get.rs
parent0d799686d0a1c4a64bbc03a734be0d3271dfca06 (diff)
downloadget-26e662f5629da3683549594cf8551e018f49309c.tar.gz
added test case invalid-attribute.rs
Diffstat (limited to 'tests/get.rs')
-rw-r--r--tests/get.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/get.rs b/tests/get.rs
index 76827ca..efa4198 100644
--- a/tests/get.rs
+++ b/tests/get.rs
@@ -45,4 +45,5 @@ fn trybuild() {
let tests = trybuild::TestCases::new();
tests.compile_fail(testcase!("unit-struct.rs"));
tests.compile_fail(testcase!("tuple-struct-without-attribute.rs"));
+ tests.compile_fail(testcase!("invalid-attribute.rs"));
}