Skip to content

Commit

Permalink
Add test for new git issue import functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Clews committed Aug 28, 2020
1 parent fc6937a commit bbc33f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions lib/git-issue/import-export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -893,10 +893,7 @@ get_url()
remote="origin"
fi

local url provider user repo
url=$(git remote get-url ${remote} 2>&1)

echo "${url}"
git remote get-url ${remote} 2>&1
}

# Returns the git's repository provider name from the URL
Expand Down
2 changes: 2 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ else
# Import
# GitHub
echo "Starting GitHub import tests..."
try "$gi" import
try "$gi" import origin
try "$gi" import github dspinellis git-issue-test-issues
start ; "$gi" list | try_grep 'An open issue on GitHub with a description and comments'
# Closed issues
Expand Down

0 comments on commit bbc33f1

Please sign in to comment.