Skip to content

Commit 90e5e5f

Browse files
committed
fix: unit test
1 parent fca1bba commit 90e5e5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/generator-cli/src/app/services/generator.service.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ describe('GeneratorService', () => {
138138
`--rel-dir="def/app"`,
139139
`--rel-path="def/app/pet.yaml"`,
140140
`--ext="yaml"`,
141-
'--some-bool=true',
141+
'--some-bool',
142142
'--some-int=1',
143143
]),
144144
cmd('[baz] def/app/car.json', [
@@ -152,20 +152,20 @@ describe('GeneratorService', () => {
152152
`--rel-dir="def/app"`,
153153
`--rel-path="def/app/car.json"`,
154154
`--ext="json"`,
155-
'--some-bool=true',
155+
'--some-bool',
156156
'--some-int=1',
157157
]),
158158
]],
159159
['bar.json', [
160160
cmd('[bar] api/cat.yaml', [
161161
`--input-spec="${cwd}/api/cat.yaml"`,
162162
`--output="bar/cat"`,
163-
'--some-bool=false',
163+
'--some-bool',
164164
]),
165165
cmd('[bar] api/bird.json', [
166166
`--input-spec="${cwd}/api/bird.json"`,
167167
`--output="bar/bird"`,
168-
'--some-bool=false',
168+
'--some-bool',
169169
]),
170170
]],
171171
['none.json', []],

0 commit comments

Comments
 (0)