Commits

ZyX_I committed 23d6c7b

tests: Added diff drivers-bazaar test subtests

  • Participants
  • Parent commits cc02927
  • Branches bzr-support

Comments (0)

Files changed (2)

File test/drivers-bazaar.ok

Binary file modified.

File test/drivers-bazaar.vim

 let r+=map(Brepo.functions.readfile(Brepo, '2', 'bzrlines.lst'), '"   ".v:val')
 let r+=['  > Annotation (-1)']
 let r+=map(Brepo.functions.annotate(Brepo, '-1', 'bzrlines.lst'), '"   ".string(v:val)')
+let r+=[' >> Diff (default)']
+let r+=Brepo.functions.diff(Brepo, 0,   0,   0,                {})
+let r+=[' >> Diff (first revision)']
+let r+=Brepo.functions.diff(Brepo, '1', 0,   0,                {})
+let r+=[' >> Diff (second revision)']
+let r+=Brepo.functions.diff(Brepo, 0,   '1', 0,                {})
+let r+=[' >> Diff (both revisions)']
+let r+=Brepo.functions.diff(Brepo, '6', '1', 0,                {})
+let r+=[' >> Diff (with file)']
+let r+=Brepo.functions.diff(Brepo, '1', '6', ['bzrlines.lst'], {})
 
 call WriteFile(r)
 source addEmessages.vim