Skip to content

Commit

Permalink
Allow for change in verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Sep 13, 2024
1 parent 68cd47e commit ec07138
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/spec/lib/svn_wunderbar_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,8 @@
ts = out['transcript']
expect(ts).to be_kind_of(Array)
expect(ts[0]).to match(%r{\$ echo})
# either --password pass or --password-from-stdin {:stdin=>\"pass\"}
# This depends on the order in which the command line is built up
expect(ts[1]).to match(%r{^svnmucc .*--message test .*--username user --password.+pass})
expect(ts[4]).to eq('usage: svnmucc ACTION...') # output of svnmucc help
expect(ts[1]).to match(%r{^svnmucc .*--message test .*--username user --password-from-stdin})
expect(ts[5]).to eq('usage: svnmucc ACTION...') # output of svnmucc help
end
it "svnmucc_([['help']],'test',ENV_.new,_,nil,{root: root}) should include --root-url" do
root = ASF::SVN.svnurl!(SAMPLE_SVN_NAME)
Expand Down

0 comments on commit ec07138

Please sign in to comment.