mirror of
https://github.com/Noratrieb/mono-fmt.git
synced 2026-01-16 16:25:07 +01:00
peek MORE
This commit is contained in:
parent
64061befd8
commit
cbd6af9844
4 changed files with 72 additions and 74 deletions
12
src/lib.rs
12
src/lib.rs
|
|
@ -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"#);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue