mirror of
https://github.com/Noratrieb/libuwuc.git
synced 2026-01-14 19:55:07 +01:00
fix printf test
This commit is contained in:
parent
1827bd19c9
commit
5d8814a9eb
1 changed files with 2 additions and 2 deletions
|
|
@ -43,12 +43,12 @@ mod tests {
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "variadic")]
|
#[cfg_attr(miri, ignore = "variadic")]
|
||||||
fn empty_format() {
|
fn empty_format() {
|
||||||
unsafe { test_printf("\0", cstr!("")) }
|
unsafe { test_printf("", cstr!("")) }
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "variadic")]
|
#[cfg_attr(miri, ignore = "variadic")]
|
||||||
fn constant_string() {
|
fn constant_string() {
|
||||||
unsafe { test_printf("hello, world\0", cstr!("hello, world")) }
|
unsafe { test_printf("hello, world", cstr!("hello, world")) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue