aboutsummaryrefslogtreecommitdiff
path: root/crates/proc_macro_srv/src/tests/utils.rs
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2020-08-14 23:19:47 +0100
committerJonas Schievink <[email protected]>2020-08-14 23:27:32 +0100
commitcb816b1ea87b24f34eeecfdd98aeeb629915d661 (patch)
tree4928418a4f8d49f030e0689131f4d48dd59dc555 /crates/proc_macro_srv/src/tests/utils.rs
parentc2594daf2974dbd4ce3d9b7ec72481764abaceb5 (diff)
Add a proc_macro_test crate
This exports all 3 kinds of proc macros and is useful for testing
Diffstat (limited to 'crates/proc_macro_srv/src/tests/utils.rs')
-rw-r--r--crates/proc_macro_srv/src/tests/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/proc_macro_srv/src/tests/utils.rs b/crates/proc_macro_srv/src/tests/utils.rs
index 5828512d6..36942147d 100644
--- a/crates/proc_macro_srv/src/tests/utils.rs
+++ b/crates/proc_macro_srv/src/tests/utils.rs
@@ -13,7 +13,7 @@ mod fixtures {
13 // Use current project metadata to get the proc-macro dylib path 13 // Use current project metadata to get the proc-macro dylib path
14 pub fn dylib_path(crate_name: &str, version: &str) -> std::path::PathBuf { 14 pub fn dylib_path(crate_name: &str, version: &str) -> std::path::PathBuf {
15 let command = Command::new(toolchain::cargo()) 15 let command = Command::new(toolchain::cargo())
16 .args(&["check", "--message-format", "json"]) 16 .args(&["check", "--tests", "--message-format", "json"])
17 .output() 17 .output()
18 .unwrap() 18 .unwrap()
19 .stdout; 19 .stdout;