Skip to content

Instantly share code, notes, and snippets.

@icambridge
Created February 7, 2017 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icambridge/343a6b1ed12756146b04759c3f859b8f to your computer and use it in GitHub Desktop.
Save icambridge/343a6b1ed12756146b04759c3f859b8f to your computer and use it in GitHub Desktop.
Scenario: Wanted - Knownledge of dependencies dependencies.
Given I depend on "github.com/src-d/go-git" version 4.3
And "github.com/src-d/go-git" version 4.3 depends on "github.com/src-d/go-billy" version 1.0
When I install dependencies
Then I will have "github.com/src-d/go-billy" version 1.0
And I will have "github.com/src-d/go-git" version 4.3
Scenario: Actual - Knownledge of dependencies dependencies.
Given I depend on "github.com/src-d/go-git" version 4.3
And "github.com/src-d/go-git" version 4.3 depends on "github.com/src-d/go-billy" version 1.0
When I install dependencies
Then I will have the latest "github.com/src-d/go-billy"
And I will have "github.com/src-d/go-git" version 4.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment