fix address rule and remove println

This commit is contained in:
collin 2020-08-07 16:02:49 -07:00
parent 09925f4d66
commit f6d3267b37
2 changed files with 1 additions and 3 deletions

View File

@ -228,7 +228,7 @@ group_tuple = !{"(" ~ value_number ~ "," ~ value_number ~ ")"}
group_single_or_tuple = {value_number | group_tuple}
// Declared in values/address.rs
address = @{ "aleo" ~ ASCII_DIGIT ~ (LOWERCASE_LETTER | ASCII_DIGIT){58} }
address = @{ "aleo1" ~ (LOWERCASE_LETTER | ASCII_DIGIT){58} }
// Declared in values/address_value.rs
value_address = ${ type_address ~ "(" ~ address ~ ")" }

View File

@ -19,7 +19,5 @@ fn test_serialize() {
// Serializes the abstract syntax tree into JSON format.
let serialized_ast = LeoAst::to_json_string(&ast).unwrap();
// println!("{:#?}", serialized_ast);
assert_eq!(expected, serialized_ast);
}