UTF8 fix for twitter-reported issue

This commit is contained in:
Jonathan Turner 2019-12-27 19:25:44 +13:00
parent 68a314b5cb
commit 10368d7060

View File

@ -32,11 +32,11 @@ mod pipeline {
#[test] #[test]
fn doesnt_break_on_utf8_command() { fn doesnt_break_on_utf8_command() {
let actual = nu!( let actual = nu!(
cwd: std::path::PathBuf::from("."), cwd: ".", pipeline(
r#" r#"
sh -c "echo ö" echo ö
"# "#
); ));
assert!( assert!(
actual.contains("ö"), actual.contains("ö"),