parser kind of works

This commit is contained in:
nora 2022-09-13 10:20:16 +02:00
parent cbd6af9844
commit 5d24f703fa
3 changed files with 108 additions and 66 deletions

View file

@ -121,19 +121,19 @@ mod tests {
#[test]
fn display() {
//let result = format!("{}", "uwu");
//assert_eq!(result, "uwu");
let result = format!("{}", "uwu");
assert_eq!(result, "uwu");
}
#[test]
fn display_with_strings() {
//let result = format!("oow{} omg", "uwu");
//assert_eq!(result, "oowuwu omg");
let result = format!("oow{} omg", "uwu");
assert_eq!(result, "oowuwu omg");
}
#[test]
fn debug() {
//let result = format!("test {:?} hello", "uwu");
//assert_eq!(result, r#"test "uwu" hello"#);
let result = format!("test {:?} hello", "uwu");
assert_eq!(result, r#"test "uwu" hello"#);
}
}