Commit 5f92c044 authored by Bruno's avatar Bruno

Merge pull request #309 from bucaran/reload-and-exit-ok

Make sure to exit with 0 of 1 when reloading the framework
parents ed87414b b56017e3
......@@ -29,3 +29,6 @@ end
# Prepend extracted user functions so they have the highest priority.
set fish_function_path $user_function_path $fish_function_path
# Make sure to exit with $status of 1 when reloading the framework.
or true
......@@ -69,6 +69,13 @@ function describe_oh_my_fish -d "Oh-My-Fish test spec..."
load_oh_my_fish
expect $fish_function_path --to-contain $fish_path/themes/l
end
function it_reloads_with_status_of_0 \
-d "It should reload the framework with \$status of 0"
load_oh_my_fish
expect $status --to-equal 0
end
end
function load_oh_my_fish
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment