@@ -23,7 +23,6 @@ void main() {
23
23
// });
24
24
group ('#137' , () {
25
25
var parentFolder = path.join (testSpecPath, 'issue' , '137' );
26
- var workingDirectory = path.join (parentFolder, 'output' );
27
26
setUpAll (
28
27
() {
29
28
var workingDirectory = path.join (parentFolder, 'output' );
@@ -34,7 +33,7 @@ void main() {
34
33
() async {
35
34
var annotatedFile =
36
35
File ('$parentFolder /github_issue_137_test_config.dart' );
37
- var annotatedFileContents = annotatedFile.readAsStringSync ();
36
+ // var annotatedFileContents = annotatedFile.readAsStringSync();
38
37
var inputSpecFile = File ('$parentFolder /github_issue_#137.yaml' );
39
38
// final annotations = (await resolveSource(
40
39
// annotatedFileContents,
@@ -45,7 +44,7 @@ void main() {
45
44
// .map((e) => ConstantReader(e.computeConstantValue()!))
46
45
// .first;
47
46
// final args = GeneratorArguments(annotations: annotations);
48
- var generatedOutput = await generateForSource (annotatedFile.path,
47
+ await generateForSource (annotatedFile.path,
49
48
openapiSpecFilePath: inputSpecFile.path);
50
49
51
50
var workingDirectory = path.join (parentFolder, 'output' );
@@ -73,7 +72,7 @@ void main() {
73
72
() async {
74
73
var annotatedFile =
75
74
File ('$parentFolder /github_issue_135_dart_test_config.dart' );
76
- var annotatedFileContents = annotatedFile.readAsStringSync ();
75
+ // var annotatedFileContents = annotatedFile.readAsStringSync();
77
76
var inputSpecFile = File ('$parentFolder /github_issue_#135.json' );
78
77
79
78
var generatedOutput = await generateForSource (annotatedFile.path,
@@ -98,7 +97,7 @@ void main() {
98
97
() async {
99
98
var annotatedFile =
100
99
File ('$parentFolder /github_issue_135_dio_test_config.dart' );
101
- var annotatedFileContents = annotatedFile.readAsStringSync ();
100
+ // var annotatedFileContents = annotatedFile.readAsStringSync();
102
101
var inputSpecFile = File ('$parentFolder /github_issue_#135.json' );
103
102
104
103
var generatedOutput = await generateForSource (annotatedFile.path,
0 commit comments