lambdalisue / vim-gina

👣 Asynchronously control git repositories in Neovim/Vim 8
http://www.vim.org/scripts/script.php?script_id=5531
MIT License
688 stars 27 forks source link

Investigate why Gina branch duplicate only in Travis. #43

Closed lambdalisue closed 7 years ago

lambdalisue commented 7 years ago

I could not reproduce the following in local and AppVeyor.

https://travis-ci.org/lambdalisue/gina.vim/jobs/204637762#L1563

Failures:

  1) gina#command#branch Use cases might be called without arguments

     Error occurred line:

       4:       Assert Equals(getline(1, '$'), [ '  develop^[[m', '* ^[[32mmaster^[[m',])

     The equivalent values were expected, but it was not the case.

         expected: ['  develop^[[m', '* ^[[32mmaster^[[m']

              got: ['  develop^[[m', '* ^[[32mmaster^[[m  develop^[[m', '* ^[[32mmaster^[[m']

Now the test is skipped in Travis. https://github.com/lambdalisue/gina.vim/commit/ef43fecdf7eeaa64602f62861b2bb4b55c801898

lambdalisue commented 7 years ago

https://travis-ci.org/lambdalisue/gina.vim/jobs/204670170#L1564

Probably I need to investigate it NOW! :-1:

lambdalisue commented 7 years ago

Note. Fixed by https://github.com/lambdalisue/gina.vim/pull/40/commits/cbbcf5a91ae761f59877fc5dc4934a34b78dbae6

The content was updated by two writers at same time (one comes from :Gina xxxxx and another comes from modified event I guess)