mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +01:00
UTF8 fix for twitter-reported issue
This commit is contained in:
parent
68a314b5cb
commit
10368d7060
@ -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("ö"),
|
||||||
|
Loading…
Reference in New Issue
Block a user