From 2bb36a36cd493eaa839737d91cc61bb238bd134f Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Tue, 20 Jun 2017 17:51:58 -0700 Subject: [PATCH] git open issue: add assertion --- test/git-open.bats | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/git-open.bats b/test/git-open.bats index 2b48982..eaf7713 100644 --- a/test/git-open.bats +++ b/test/git-open.bats @@ -80,6 +80,11 @@ setup() { git checkout -B "issues/#12" run ../git-open "issue" assert_output "https://github.com/paulirish/git-open/issues/12" + + # https://github.com/paulirish/git-open/pull/86 + git checkout -B "fix-issue-36" + run ../git-open "issue" + assert_output "https://github.com/paulirish/git-open/issues/36" } @test "gh: gist" {