@@ -11,12 +11,11 @@ import {
11
11
TspConfigCsharpAzNamespaceEqualStringSubRule ,
12
12
TspConfigCsharpAzPackageDirectorySubRule ,
13
13
TspConfigCsharpMgmtPackageDirectorySubRule ,
14
- TspConfigGoAzGenerateFakesTrueSubRule ,
15
14
TspConfigGoAzInjectSpansTrueSubRule ,
16
15
TspConfigGoDpModuleMatchPatternSubRule ,
17
16
TspConfigGoDpPackageDirectoryMatchPatternSubRule ,
18
17
TspConfigGoDpServiceDirMatchPatternSubRule ,
19
- TspConfigGoMgmtFixConstStutteringTrueSubRule ,
18
+ TspConfigGoMgmtGenerateFakesTrueSubRule ,
20
19
TspConfigGoMgmtGenerateSamplesTrueSubRule ,
21
20
TspConfigGoMgmtHeadAsBooleanTrueSubRule ,
22
21
TspConfigGoMgmtModuleEqualStringSubRule ,
@@ -287,15 +286,6 @@ const goManagementModuleTestCases = createEmitterOptionTestCases(
287
286
[ new TspConfigGoMgmtModuleEqualStringSubRule ( ) ] ,
288
287
) ;
289
288
290
- const goManagementFixConstStutteringTestCases = createEmitterOptionTestCases (
291
- "@azure-tools/typespec-go" ,
292
- managementTspconfigFolder ,
293
- "fix-const-stuttering" ,
294
- true ,
295
- false ,
296
- [ new TspConfigGoMgmtFixConstStutteringTrueSubRule ( ) ] ,
297
- ) ;
298
-
299
289
const goManagementGenerateExamplesTestCases = createEmitterOptionTestCases (
300
290
"@azure-tools/typespec-go" ,
301
291
managementTspconfigFolder ,
@@ -311,16 +301,7 @@ const goManagementGenerateFakesTestCases = createEmitterOptionTestCases(
311
301
"generate-fakes" ,
312
302
true ,
313
303
false ,
314
- [ new TspConfigGoAzGenerateFakesTrueSubRule ( ) ] ,
315
- ) ;
316
-
317
- const goDpGenerateFakesTestCases = createEmitterOptionTestCases (
318
- "@azure-tools/typespec-go" ,
319
- "" ,
320
- "generate-fakes" ,
321
- true ,
322
- false ,
323
- [ new TspConfigGoAzGenerateFakesTrueSubRule ( ) ] ,
304
+ [ new TspConfigGoMgmtGenerateFakesTrueSubRule ( ) ] ,
324
305
) ;
325
306
326
307
const goManagementHeadAsBooleanTestCases = createEmitterOptionTestCases (
@@ -619,7 +600,6 @@ options:
619
600
subRules : [
620
601
new TspConfigGoMgmtPackageDirectorySubRule ( ) ,
621
602
new TspConfigGoMgmtModuleEqualStringSubRule ( ) ,
622
- new TspConfigGoMgmtFixConstStutteringTrueSubRule ( ) ,
623
603
] ,
624
604
tspconfigContent : `
625
605
options:
@@ -661,12 +641,10 @@ describe("tspconfig", function () {
661
641
...goManagementServiceDirTestCases ,
662
642
...goManagementPackageDirTestCases ,
663
643
...goManagementModuleTestCases ,
664
- ...goManagementFixConstStutteringTestCases ,
665
644
...goManagementGenerateExamplesTestCases ,
666
645
...goManagementGenerateFakesTestCases ,
667
646
...goManagementHeadAsBooleanTestCases ,
668
647
...goManagementInjectSpansTestCases ,
669
- ...goDpGenerateFakesTestCases ,
670
648
...goDpInjectSpansTestCases ,
671
649
...goDpModuleTestCases ,
672
650
...goDpPackageDirTestCases ,
0 commit comments