Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add tests for missing git-view cases #120

Open
Tyriar opened this issue Feb 2, 2016 · 2 comments
Open

Add tests for missing git-view cases #120

Tyriar opened this issue Feb 2, 2016 · 2 comments

Comments

@Tyriar
Copy link
Contributor

Tyriar commented Feb 2, 2016

As mentioned in #107, there are tests missing for the view and tooltip for:

  • <num> commit(s) ahead <branch>
  • <num> commit(s) behind <branch>
  • <num> line(s) deleted
  • <num> line(s) added and <num> line(s) deleted
@gitjeff05
Copy link

I'd like to add these tests. Can anyone provide any guidance on how to setup/modify the git repos in the spec/fixtures folder?

I can create a file and remove text without a problem. But I need a file that already exists in the repo with 2+ lines to remove. There is a fixtures/git/ahead-behind-repo.git, a fixtures/git/no-ahead-behind-repo.git, a fixtures/git/master.git and a working-dir repo. I'm a little unsure of what these are. Are they submodules? I can probably figure it out but wanted to check.

@50Wliu
Copy link
Contributor

50Wliu commented Mar 14, 2017

/cc @as-cii I noticed that you added a fixture to this repo before, maybe you can point @gitjeff05 along the right path?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants