fish-shell/fish-rust/widestring-suffix/tests/test.rs
2023-02-02 19:34:47 -07:00

24 lines
311 B
Rust

use widestring_suffix::widestrs;
mod wchar {
macro_rules! L {
($string:expr) => {
42
};
}
pub(crate) use L;
}
#[widestrs]
mod stuff {
pub fn test1() {
let s = "abc"L;
assert_eq!(s, 42);
}
}
#[test]
fn test_widestring() {
stuff::test1();
}