summaryrefslogtreecommitdiffstats
path: root/library/std/src/sys/windows/stdio/tests.rs
blob: 1e53e0bee636978f55f2f27ae9fbe78ea0e26c06 (plain)
1
2
3
4
5
6
use super::utf16_to_utf8;

#[test]
fn zero_size_read() {
    assert_eq!(utf16_to_utf8(&[], &mut []).unwrap(), 0);
}