attempt to decrease bak flakiness

This commit is contained in:
Bruno Pinto 2015-01-19 13:26:28 -02:00
parent 712c93075d
commit 80ed2cf0f0

View File

@ -83,10 +83,12 @@ function describe_bak_plugin
function it_undo_copies_of_a_single_file function it_undo_copies_of_a_single_file
touch a touch a
cpbak a cpbak a
set -l bak_filename (__bak_name a)
rm a rm a
uncpbak (ls) uncpbak (ls)
expect (ls) --to-contain-all (echo 'a'\n(__bak_name a)) expect (ls) --to-contain-all (echo 'a'\n$bak_filename)
end end
function it_undo_copies_of_multiple_files function it_undo_copies_of_multiple_files