From 10368d7060f2837117f8319c461537a98e84a2f8 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Fri, 27 Dec 2019 19:25:44 +1300 Subject: [PATCH] UTF8 fix for twitter-reported issue --- tests/shell/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/shell/mod.rs b/tests/shell/mod.rs index 7626fefa0a..ec8cec39fe 100644 --- a/tests/shell/mod.rs +++ b/tests/shell/mod.rs @@ -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("ö"),