From 9a35780c090ff99a8f051aa4466b7507be30d9aa Mon Sep 17 00:00:00 2001 From: Guillaume Lostis Date: Fri, 19 Jun 2020 12:11:29 +0200 Subject: [PATCH] Add test for suffix with `=` in it --- test/git-open.bats | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/git-open.bats b/test/git-open.bats index 854f274..73ef6bd 100755 --- a/test/git-open.bats +++ b/test/git-open.bats @@ -172,6 +172,11 @@ setup() { assert_output "https://github.com/paulirish/git-open/anySuffix" } +@test "gh: git open --suffix anySuffix?hello=world" { + run ../git-open "--suffix" "anySuffix?hello=world" + assert_output "https://github.com/paulirish/git-open/anySuffix?hello=world" +} + @test "gh: gist" { git remote set-url origin "git@gist.github.com:2d84a6db1b41b4020685.git" run ../git-open