Skip to content

Commit 9a35780

Browse files
committed
Add test for suffix with = in it
1 parent d9a0d19 commit 9a35780

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/git-open.bats

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ setup() {
172172
assert_output "https://github.com/paulirish/git-open/anySuffix"
173173
}
174174

175+
@test "gh: git open --suffix anySuffix?hello=world" {
176+
run ../git-open "--suffix" "anySuffix?hello=world"
177+
assert_output "https://github.com/paulirish/git-open/anySuffix?hello=world"
178+
}
179+
175180
@test "gh: gist" {
176181
git remote set-url origin "[email protected]:2d84a6db1b41b4020685.git"
177182
run ../git-open

0 commit comments

Comments
 (0)