mirror of
https://github.com/Noratrieb/mono-fmt.git
synced 2026-01-16 16:25:07 +01:00
fixes
This commit is contained in:
parent
010126ce0b
commit
8862186a1f
7 changed files with 65 additions and 31 deletions
|
|
@ -121,4 +121,10 @@ mod tests {
|
|||
let result = format!("a: {}", 32523532u64);
|
||||
assert_eq!(result, "a: 32523532");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn escape() {
|
||||
let result = format!("a: {{{}}}", 6);
|
||||
assert_eq!(result, "a: {6}");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue