xref: /drstd/src/std/sys/windows/stdio/tests.rs (revision 86982c5e9b2eaa583327251616ee822c36288824)
1 use super::utf16_to_utf8;
2 
3 #[test]
4 fn zero_size_read() {
5     assert_eq!(utf16_to_utf8(&[], &mut []).unwrap(), 0);
6 }
7