Replace LICENSE
Makefile README.md acceptance api bin build cmd context docs git go.mod go.sum internal pkg script share test utils commands with
This commit is contained in:
parent
ee0d9ab901
commit
25f2956e67
2 changed files with 3 additions and 6 deletions
3
acceptance/testdata/repos/repo-clone.txtar
vendored
3
acceptance/testdata/repos/repo-clone.txtar
vendored
|
|
@ -8,5 +8,4 @@ defer gh repo delete --yes $ORG/$SCRIPT_NAME-$RANDOM_STRING
|
|||
exec gh repo clone $ORG/$SCRIPT_NAME-$RANDOM_STRING
|
||||
|
||||
# Ensure the repo was cloned
|
||||
exec ls $SCRIPT_NAME-$RANDOM_STRING
|
||||
stdout README.md
|
||||
exists $SCRIPT_NAME-$RANDOM_STRING/README.md
|
||||
|
|
|
|||
|
|
@ -30,15 +30,13 @@ exec git push
|
|||
# Checkout the forked repo and ensure asset.txt is not present
|
||||
cd ../$SCRIPT_NAME-$RANDOM_STRING-fork
|
||||
exec git checkout main
|
||||
exec ls
|
||||
! stdout asset.txt
|
||||
! exists asset.txt
|
||||
|
||||
# Sync the forked repo with the original repo
|
||||
exec gh repo sync
|
||||
|
||||
# Check that asset.txt now exists in the fork
|
||||
exec ls
|
||||
stdout asset.txt
|
||||
exists asset.txt
|
||||
|
||||
-- asset.txt --
|
||||
Hello, world!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue