Skip to content

Commit fc98001

Browse files
committed
Fixing clap tests after the removal of --format
1 parent 0d32fdf commit fc98001

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Pillar-Tests-Cli/ClapPillarBuildCommandSpecTest.class.st

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ ClapPillarBuildCommandSpecTest >> tearDown [
5252
ClapPillarBuildCommandSpecTest >> testAll [
5353

5454
| context command |
55-
context := ClapPillarBuildCommand commandSpecification activationWith: #(build '--format' pdf '--all').
55+
context := ClapPillarBuildCommand commandSpecification activationWith: #(build pdf '--all').
5656
command := context command.
5757
self assert: (command hasFlag: 'all').
5858
]
@@ -70,7 +70,7 @@ ClapPillarBuildCommandSpecTest >> testExplicitFile [
7070
ClapPillarBuildCommandSpecTest >> testExplicitFileDifferentFromIndex [
7171

7272
| context command |
73-
context := ClapPillarBuildCommand commandSpecification activationWith: #(build '--format' pdf 'toto.md').
73+
context := ClapPillarBuildCommand commandSpecification activationWith: #(build pdf 'toto.md').
7474
command := context command.
7575
self assert: command requestedFiles asArray equals: #('toto.md')
7676
]
@@ -79,7 +79,7 @@ ClapPillarBuildCommandSpecTest >> testExplicitFileDifferentFromIndex [
7979
ClapPillarBuildCommandSpecTest >> testExplicitFiles [
8080

8181
| context command |
82-
context := ClapPillarBuildCommand commandSpecification activationWith: #(build '--format' pdf 'index.md' 'titi.md').
82+
context := ClapPillarBuildCommand commandSpecification activationWith: #(build pdf 'index.md' 'titi.md').
8383
command := context command.
8484
self assert: command requestedFiles asArray equals: #('index.md' 'titi.md')
8585
]
@@ -110,7 +110,7 @@ ClapPillarBuildCommandSpecTest >> testFormatNoFormatEqualsUnknownFormat [
110110
ClapPillarBuildCommandSpecTest >> testFormatPdf [
111111

112112
| context command |
113-
context := ClapPillarBuildCommand commandSpecification activationWith: #(build '--format' pdf).
113+
context := ClapPillarBuildCommand commandSpecification activationWith: #(build pdf).
114114
command := context command.
115115
self assert: command format equals: 'pdf'.
116116
]

0 commit comments

Comments
 (0)