mirror of
https://github.com/AleoHQ/leo.git
synced 2025-01-02 06:50:13 +03:00
fix address rule and remove println
This commit is contained in:
parent
09925f4d66
commit
f6d3267b37
@ -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 ~ ")" }
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user