mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-07 04:06:48 +01:00
This commit is contained in:
parent
9ccd7e5c69
commit
104bb1c8e7
2 changed files with 83 additions and 87 deletions
|
|
@ -21,6 +21,8 @@ macro_rules!is_err(($exp:expr)=>{assert!($exp.is_err())};
|
|||
check("(a b c) d e f", Err(e1), Err(e3), Ok(Some("(a b c)")), Ok(Some("d e f")));
|
||||
check("a (b c d) e f", Err(e1), Err(e0), Ok(Some("a")), Ok(Some("(b c d) e f")));
|
||||
|
||||
is_some!(sym_peek("\n :view/transport"), ":view/transport");
|
||||
|
||||
assert!(is_whitespace(' '));
|
||||
assert!(!is_key_start(' '));
|
||||
assert!(is_key_start('f'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue