Skip to content

Commit 93f420d

Browse files
committed
test single quotes in relataed repeatable arg tests
1 parent ab34fc0 commit 93f420d

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

spec/approvals/fixtures/repeatable-arg-validations

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ must be an integer
3232
+ ./cli 1 a
3333
validation error in NUMBER:
3434
must be an integer
35-
+ ./cli 1 'not"a"number'
35+
+ ./cli 1 'bad"quote'
3636
validation error in NUMBER:
3737
must be an integer

spec/approvals/fixtures/repeatable-flag-validations

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ must be an integer
3232
+ ./cli --number 1 --number a
3333
validation error in --number, -n NUMBER:
3434
must be an integer
35-
+ ./cli --number 1 --number 'not"a"number'
35+
+ ./cli --number 1 --number 'bad"quote'
3636
validation error in --number, -n NUMBER:
3737
must be an integer

spec/approvals/fixtures/repeatable-whitelist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ args:
2424
--protocol must be one of: ssh, ftp, sftp
2525
+ ./download --protocol telnet
2626
--protocol must be one of: ssh, ftp, sftp
27-
+ ./download --protocol telnet --protocol 'not"a"protocol'
27+
+ ./download --protocol telnet --protocol 'bad"quote'
2828
--protocol must be one of: ssh, ftp, sftp

spec/fixtures/workspaces/repeatable-arg-validations/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ bundle exec bashly generate
1616
./cli 1.1 2
1717
./cli 1 2.2
1818
./cli 1 a
19-
./cli 1 'not"a"number'
19+
./cli 1 'bad"quote'

spec/fixtures/workspaces/repeatable-flag-validations/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ bundle exec bashly generate
1616
./cli --number 1.1 --number 2
1717
./cli --number 1 --number 2.2
1818
./cli --number 1 --number a
19-
./cli --number 1 --number 'not"a"number'
19+
./cli --number 1 --number 'bad"quote'

spec/fixtures/workspaces/repeatable-whitelist/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ bundle exec bashly generate
1414
./download -p sftp -p https
1515
./download -p http -p ftp
1616
./download --protocol telnet
17-
./download --protocol telnet --protocol 'not"a"protocol'
17+
./download --protocol telnet --protocol 'bad"quote'

0 commit comments

Comments
 (0)