1
0
Fork 0
mirror of synced 2024-12-12 18:35:46 -05:00

Add acceptance tests for alt-link delimiters (#49)

Delimiters other than `.` should not be used.
This adds some test with delimiter `_`.
This commit is contained in:
Tim Byrne 2017-01-16 17:49:41 -06:00
parent 3f7e8b148e
commit a25a180b88
No known key found for this signature in database
GPG key ID: 6CBE24C2FD8CF76E

View file

@ -99,11 +99,13 @@ function create_worktree() {
"alt-host##S.H" \
"alt-host##S.H.U" \
"alt-host##$T_SYS.$T_HOST" \
"alt-host##${T_SYS}_${T_HOST}" \
"alt-user##" \
"alt-user##S" \
"alt-user##S.H" \
"alt-user##S.H.U" \
"alt-user##$T_SYS.$T_HOST.$T_USER" \
"alt-user##${T_SYS}_${T_HOST}_${T_USER}" \
"dir one/alt-none##S/file1" \
"dir one/alt-none##S/file2" \
"dir one/alt-none##S.H/file1" \
@ -138,6 +140,8 @@ function create_worktree() {
"dir one/alt-host##S.H.U/file2" \
"dir one/alt-host##$T_SYS.$T_HOST/file1" \
"dir one/alt-host##$T_SYS.$T_HOST/file2" \
"dir one/alt-host##${T_SYS}_${T_HOST}/file1" \
"dir one/alt-host##${T_SYS}_${T_HOST}/file2" \
"dir one/alt-user##/file1" \
"dir one/alt-user##/file2" \
"dir one/alt-user##S/file1" \
@ -148,6 +152,8 @@ function create_worktree() {
"dir one/alt-user##S.H.U/file2" \
"dir one/alt-user##$T_SYS.$T_HOST.$T_USER/file1" \
"dir one/alt-user##$T_SYS.$T_HOST.$T_USER/file2" \
"dir one/alt-user##${T_SYS}_${T_HOST}_${T_USER}/file1" \
"dir one/alt-user##${T_SYS}_${T_HOST}_${T_USER}/file2" \
"dir2/file2" \
.bash_profile \
.gnupg/gpg.conf \