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]
fn doesnt_break_on_utf8_command() {
let actual = nu!(
cwd: std::path::PathBuf::from("."),
cwd: ".", pipeline(
r#"
sh -c "echo ö"
echo ö
"#
);
));
assert!(
actual.contains("ö"),