-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
convert old script test to new script test
- Loading branch information
1 parent
97066f1
commit 034be58
Showing
4 changed files
with
32 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Normal usage clones dependabot-fixtures/go-modules-lib | ||
dependabot update go_modules dependabot-fixtures/go-modules-lib --cache cache | ||
stderr 'https://github.com:443/dependabot-fixtures/go-modules-lib/git-upload-pack' | ||
stdout 'create_pull_request' | ||
|
||
exec git clone https://github.com/dependabot-fixtures/go-modules-lib repo | ||
|
||
# Using --local prevents cloning | ||
dependabot update go_modules dependabot-fixtures/go-modules-lib --local repo --cache cache | ||
! stderr 'https://github.com:443/dependabot-fixtures/go-modules-lib/git-upload-pack' | ||
stdout 'create_pull_request' | ||
|
||
# Verify it works with a non-git repo | ||
rm -rf tmp/sys/.git | ||
dependabot update go_modules dependabot-fixtures/go-modules-lib --local repo --cache cache | ||
! stderr 'https://github.com:443/dependabot-fixtures/go-modules-lib/git-upload-pack' | ||
stdout 'create_pull_request' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.