mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-27 05:47:05 +08:00
Fix test on windows
This commit is contained in:
parent
b60428c94d
commit
089cee395f
1 changed files with 2 additions and 2 deletions
|
|
@ -1175,7 +1175,7 @@ defmodule LivebookWeb.SessionLiveTest do
|
|||
assert_receive {:operation,
|
||||
{:add_cell_evaluation_response, _, ^cell_id, {:text, output}, _}}
|
||||
|
||||
assert output == "\e[32m\"#{expected_path}\"\e[0m"
|
||||
assert output == "\e[32m\"#{String.replace(expected_path, "\\", "\\\\")}\"\e[0m"
|
||||
|
||||
Settings.unset_env_var("PATH")
|
||||
|
||||
|
|
@ -1186,7 +1186,7 @@ defmodule LivebookWeb.SessionLiveTest do
|
|||
assert_receive {:operation,
|
||||
{:add_cell_evaluation_response, _, ^cell_id, {:text, output}, _}}
|
||||
|
||||
assert output == "\e[32m\"#{initial_os_path}\"\e[0m"
|
||||
assert output == "\e[32m\"#{String.replace(initial_os_path, "\\", "\\\\")}\"\e[0m"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue