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
8bf09e80
Commit
8bf09e80
authored
Jan 14, 2015
by
Bruno Pinto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes bak assertions
parent
c9e22789
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
plugins/bak/spec/bak.spec.fish
plugins/bak/spec/bak.spec.fish
+4
-4
No files found.
plugins/bak/spec/bak.spec.fish
View file @
8bf09e80
...
...
@@ -65,7 +65,7 @@ function describe_bak -d 'Testing bak plugin'
touch a
cpbak a
expect (ls
| sort) --to-equal (echo -e 'a' (__bak_name a) | sort
)
expect (ls
-p) --to-contain (echo 'a'\n(__bak_name a)
)
end
function it_copies_multiple_files
...
...
@@ -77,7 +77,7 @@ function describe_bak -d 'Testing bak plugin'
set files_bak $files_bak (__bak_name $f)
end
expect (ls
| sort
) --to-contain $files $file_bak
expect (ls) --to-contain $files $file_bak
end
function it_uncopies_a_single_file
...
...
@@ -86,7 +86,7 @@ function describe_bak -d 'Testing bak plugin'
rm a
uncpbak (ls)
expect (ls
| sort) --to-equal (echo -e 'a' (__bak_name a) | sort
)
expect (ls
) --to-contain (printf 'a' (__bak_name a)
)
end
function it_uncopies_multiple_files
...
...
@@ -104,7 +104,7 @@ function describe_bak -d 'Testing bak plugin'
rmdir a
uncpbak (ls -p)
expect (ls -p
| sort) --to-equal (echo -e (__bak_name a)'/' 'a
/')
expect (ls -p
) --to-contain (echo 'a/'\n(__bak_name a)'
/')
end
end
...
...
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