mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
adjust span-api-tests.rs
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
extern crate span_api_tests;
|
||||
|
||||
use span_api_tests::{reemit, assert_fake_source_file, assert_source_file, macro_stringify};
|
||||
use span_api_tests::{reemit, assert_source_file, macro_stringify};
|
||||
|
||||
macro_rules! say_hello {
|
||||
($macname:ident) => ( $macname! { "Hello, world!" })
|
||||
@@ -25,7 +25,7 @@ macro_rules! say_hello {
|
||||
assert_source_file! { "Hello, world!" }
|
||||
}
|
||||
|
||||
say_hello_extern! { assert_fake_source_file }
|
||||
say_hello_extern! { assert_source_file }
|
||||
|
||||
reemit! {
|
||||
assert_source_file! { "Hello, world!" }
|
||||
|
||||
Reference in New Issue
Block a user