Skip to content

Commit

Permalink
fix tests_parse_type_tag (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg authored Jul 16, 2024
1 parent 8265bf7 commit f4b86b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions language/move-core/types/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -624,12 +624,12 @@ fn tests_parse_type_tag() {
TypeTag::U128,
TypeTag::Address,
TypeTag::Bool,
TypeTag::Struct(StructTag {
TypeTag::Struct(Box::new(StructTag {
address: AccountAddress::random(),
module: Identifier::from_utf8("A".to_string().into_bytes()).unwrap(),
name: Identifier::from_utf8("B".to_string().into_bytes()).unwrap(),
type_params: vec![TypeTag::Address],
}),
})),
TypeTag::Vector(Box::new(TypeTag::U8)),
] {
let actual = parse_type_tag(t.to_string().as_str()).unwrap();
Expand Down

0 comments on commit f4b86b0

Please sign in to comment.