Rename the 1.47 ABI to 1.48

This commit is contained in:
Jonas Schievink 2022-03-24 18:26:10 +01:00
parent f3d1a53fa6
commit ea0325b2da
14 changed files with 10 additions and 10 deletions

View file

@ -11,14 +11,14 @@ pub mod fixtures {
}
}
fn parse_string(code: &str) -> Option<crate::abis::abi_1_47::TokenStream> {
fn parse_string(code: &str) -> Option<crate::abis::abi_1_48::TokenStream> {
// This is a bit strange. We need to parse a string into a token stream into
// order to create a tt::SubTree from it in fixtures. `into_subtree` is
// implemented by all the ABIs we have so we arbitrarily choose one ABI to
// write a `parse_string` function for and use that. The tests don't really
// care which ABI we're using as the `into_subtree` function isn't part of
// the ABI and shouldn't change between ABI versions.
crate::abis::abi_1_47::TokenStream::from_str(code).ok()
crate::abis::abi_1_48::TokenStream::from_str(code).ok()
}
pub fn assert_expand(macro_name: &str, ra_fixture: &str, expect: Expect) {