Skip to content

Commit 47ef1e2

Browse files
committed
Add failing test for patch with slash in name
Attempting to create a new patch with a slash ('/') in the name results in a failure, per #24. A new test is added to t1003-new.sh that triggers this bug. The test is marked as test_expect_failure since the bug is not yet resolved. Signed-off-by: Peter Grayson <[email protected]>
1 parent d871111 commit 47ef1e2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/t1003-new.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,9 @@ test_expect_success \
6262
test_path_is_file new-tmpl.txt
6363
'
6464

65+
test_expect_failure \
66+
'Patch with slash in name' '
67+
stg new bar/foo -m "patch bar/foo"
68+
'
69+
6570
test_done

0 commit comments

Comments
 (0)