Commits

ZyX_I committed 2b3270f

Fixed wine :AuRecord test (added a workaround). Now all tests are working under wine

Comments (0)

Files changed (3)

plugin/aurum/record.vim

             \ 'recnof': 'No files were selected for commiting',
         \}
 "▶1 recfunc
+" TODO investigate why closing record tab is causing next character consumption
+"      under wine
 function s:recfunc.function(opts, ...)
     let files=copy(a:000)
     if !empty(files) && a:opts.repo is# ':'
 :R AuRecord
 /M
 AiAbc:silent write
+:
+:
 :WT
 :W{{{1 BufWriteCmd event
 :R AuRecord
 A:silent write
+:
 Def:silent write
+:
+:
 :WT
 :W{{{1 ARiX
 :R AuRecord
-ARiX:WT
+ARiX
+:
+:
+:WT
 :W{{{1 2A2RiX
 :R AuRecord
-2A2RiX:WT
+2A2RiX
+:
+:WT
 :W{{{1 message, {count}A
 :R AuRecord message Ghi
-2Ai:WT
+2Ai
+:
+:
+:WT
 :W{{{1 message, user, date
 :let date=strftime('%Y-%m-%d_%H:%M', 1200873600)
 :exe 'R AuRecord message Jkl user B\ <b@example.org> date '.date
-Ai:WT!
+Ai
+:
+:
+:WT!
 :W{{{1 edit-discard
 :R silent edit nohglinesrev.lst
 :call append('$', 'This is a new text')
 :bwipeout!
 :R AuRecord message Mno
 OGdo:silent write
-,xiX:WT
+:
+:
+,xiX
+:
+:
+:WT
 :W{{{1 edit-discardall
 :R AuRecord message Mno
 OGdo:silent write
-,X:WT
+:
+:
+,X
+:
+:
+:WT
 :W{{{1 edit-edit-ignore
 :R AuRecord message Mno
 OGdo:silent write
-jOzRggdd,RiX:WT
+:
+:
+jOzRggdd,RiX
+:
+:
+:WT
 :W{{{1 edit-commit
 :R AuRecord message Mno
-OGdo,i:WT
+OGdo,i
+:
+:
+:WT
 :source addmessages.vim

test/wine/record.ok

+{{{1 i mapping
+@  Changeset 27
+|  Tags: tip
+|  @ Abc
+{{{1 BufWriteCmd event
+@  Changeset 28
+|  Tags: tip
+|  @ Def
+{{{1 ARiX
+@  Changeset 28
+|  Tags: tip
+|  @ Def
+{{{1 2A2RiX
+@  Changeset 28
+|  Tags: tip
+|  @ Def
+{{{1 message, {count}A
+@  Changeset 29
+|  Tags: tip
+|  @ Ghi
+{{{1 message, user, date
+@  Changeset 30
+|  Commited 21 Jan 2008 00:00 by B <b@example.org>
+|  Tags: tip
+|  @ Jkl
+{{{1 edit-discard
+@  Changeset 30
+|  Tags: tip
+|  @ Jkl
+{{{1 edit-discardall
+@  Changeset 30
+|  Tags: tip
+|  @ Jkl
+{{{1 edit-edit-ignore
+@  Changeset 30
+|  Tags: tip
+|  @ Jkl
+{{{1 edit-commit
+@  Changeset 31
+|  Tags: tip
+|  @ Mno
+>>> Messages:
+
+
+
+
+
+Frawor:plugin/aurum/record:recnof:No files were selected for commiting
+Frawor:plugin/aurum/record:recnof:No files were selected for commiting
+Frawor:plugin/aurum/record:recnof:No files were selected for commiting
+Frawor:plugin/aurum/record:recnof:No files were selected for commiting
+<<< Messages^