From 7368c174e7083bacfe8fa04fa382b02ce4c7c531 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Sun, 11 Jan 2015 01:35:30 +0900 Subject: [PATCH] Update oh-my-fish.fish tests for new list.erase function. --- test/oh_my_fish.fish | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/oh_my_fish.fish b/test/oh_my_fish.fish index 95e71f4..99b4bf8 100644 --- a/test/oh_my_fish.fish +++ b/test/oh_my_fish.fish @@ -34,15 +34,15 @@ function describe_oh_my_fish end function it_loads_all_oh_my_fish_functions - array.delete "$fish_path/functions/" fish_function_path + list.erase "$fish_path/functions/" fish_function_path load_oh_my_fish expect $fish_function_path to_include $fish_path/functions/ end function it_loads_all_selected_plugins - array.delete "$fish_path/plugins/bak" fish_function_path - array.delete "$fish_path/plugins/z" fish_function_path + list.erase "$fish_path/plugins/bak" fish_function_path + list.erase "$fish_path/plugins/z" fish_function_path set fish_plugins bak z load_oh_my_fish @@ -59,7 +59,7 @@ function describe_oh_my_fish end function it_loads_the_selected_theme - array.delete "$fish_path/themes/l" fish_function_path + list.erase "$fish_path/themes/l" fish_function_path set fish_theme l load_oh_my_fish