Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
oh-my-fish
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
oh-my-fish
Commits
5f92c044
Commit
5f92c044
authored
Jan 13, 2015
by
Bruno
Browse files
Options
Browse Files
Download
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
oh-my-fish.fish
oh-my-fish.fish
+3
-0
spec/oh-my-fish.spec.fish
spec/oh-my-fish.spec.fish
+7
-0
No files found.
oh-my-fish.fish
View file @
5f92c044
...
...
@@ -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
spec/oh-my-fish.spec.fish
View file @
5f92c044
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment