@@ -45,27 +45,26 @@ void main() {
4545 () async {
4646 var inputSpecFile =
4747 File ('$parentFolder /github_issue_#$issueNumber .json' );
48- var outputDir = Directory ('./test/specs/issue/$issueNumber /output' );
48+ var outputDir = Directory ('./test/specs/issue/$issueNumber /output' );
4949 var generatedOutput = await generateFromAnnotation (
5050 Openapi (
51- additionalProperties: AdditionalProperties (
52- pubName: 'tictactoe_api' ,
53- pubAuthor: 'Jon Doe' ,
54- pubAuthorEmail: 'me@example.com' ),
55- inputSpec: InputSpec (path: inputSpecFile.path),
56- generatorName: Generator .dart,
57- cleanSubOutputDirectory: [
58- './test/specs/issue/$issueNumber /output'
59- ],
60- cachePath: './test/specs/issue/$issueNumber /output/cache.json' ,
61- outputDirectory: outputDir.path,),
51+ additionalProperties: AdditionalProperties (
52+ pubName: 'tictactoe_api' ,
53+ pubAuthor: 'Jon Doe' ,
54+ pubAuthorEmail: 'me@example.com' ),
55+ inputSpec: InputSpec (path: inputSpecFile.path),
56+ generatorName: Generator .dart,
57+ cleanSubOutputDirectory: ['./test/specs/issue/$issueNumber /output' ],
58+ cachePath: './test/specs/issue/$issueNumber /output/cache.json' ,
59+ outputDirectory: outputDir.path,
60+ ),
6261 process: processRunner,
6362 );
6463
6564 expectSourceGenSkipped (outputDir);
66-
65+
6766 expectCodeFormattedSuccessfully (outputDir);
68-
67+
6968 var analyzeResult = await Process .run (
7069 'dart' ,
7170 ['analyze' ],
@@ -75,7 +74,7 @@ void main() {
7574 'Analysis result: ${analyzeResult .stdout }\n\n ${analyzeResult .stderr }' );
7675 expect (analyzeResult.exitCode, 0 ,
7776 reason: '${analyzeResult .stdout }\n\n ${analyzeResult .stderr }' );
78-
77+
7978 cleanup (workingDirectory);
8079 });
8180 });
0 commit comments