Skip to content

Commit

Permalink
[smoke-test] avoid having to import rusty_fork in attribute tests
Browse files Browse the repository at this point in the history
Noticed this while looking at the smoke tests. Importing rusty_fork
isn't necessary.
  • Loading branch information
sunshowers authored and bors-libra committed Dec 5, 2020
1 parent 2c20466 commit 94f2ad6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion testsuite/smoke-test/attribute/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use quote::quote;
pub fn smoke_test(_: TokenStream, input: TokenStream) -> proc_macro::TokenStream {
let input = proc_macro2::TokenStream::from(input);
let output = quote! {
rusty_fork_test! {
::rusty_fork::rusty_fork_test! {
#![rusty_fork(timeout_ms = 120000)] // 2 minute timeout
#[test]
#input
Expand Down
1 change: 0 additions & 1 deletion testsuite/smoke-test/src/key_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ use libra_secure_storage::{CryptoStorage, Storage};
use libra_secure_time::RealTimeService;
use libra_smoke_test_attribute::smoke_test;
use libra_types::chain_id::ChainId;
use rusty_fork::rusty_fork_test;
use std::{convert::TryInto, thread, thread::sleep, time::Duration};

#[smoke_test]
Expand Down

0 comments on commit 94f2ad6

Please sign in to comment.