Skip to content

Commit

Permalink
[lang] Fix renaming bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Mar 29, 2019
1 parent f71a79f commit 1e93523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lang/src/tests/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
use crate::contract_gen_impl2;
use proc_macro2::TokenStream as TokenStream2;

pub fn assert_eq_tokenstreams(input: TokenStream, expected: TokenStream) {
pub fn assert_eq_tokenstreams(input: TokenStream2, expected: TokenStream2) {
assert_eq!(
contract_gen_impl2(input)
.map(|result| result.to_string())
Expand All @@ -26,7 +26,7 @@ pub fn assert_eq_tokenstreams(input: TokenStream, expected: TokenStream) {
)
}

pub fn assert_failure(input: TokenStream, err_str: &'static str) {
pub fn assert_failure(input: TokenStream2, err_str: &'static str) {
assert_eq!(
contract_gen_impl2(input)
.map(|result| result.to_string())
Expand Down

0 comments on commit 1e93523

Please sign in to comment.