File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
openapi-generator/test/test_annotations Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ const updateAnnotatedFile = true;
42
42
class TestClassHasCustomAnnotations {}
43
43
44
44
@ShouldGenerate (r'''
45
-
46
45
const additionalProperties = wrapper = 'flutterw', nullableFields = 'true';
47
46
48
47
const fetchDependencies = true;
@@ -56,7 +55,6 @@ const runSourceGenOnOutput = true;
56
55
const skipSpecValidation = false;
57
56
58
57
const updateAnnotatedFile = true;
59
-
60
58
''' )
61
59
@Openapi (
62
60
inputSpec: InputSpec (path: '' ),
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class TestGenerator extends src_gen.GeneratorForAnnotation<Openapi> {
12
12
@override
13
13
Iterable <String > generateForAnnotatedElement (Element element,
14
14
src_gen.ConstantReader annotation, BuildStep buildStep) sync * {
15
- assert (! annotation.isNull, ' The source generator should \' nt be null' );
15
+ assert (! annotation.isNull, " The source generator shouldn't be null" );
16
16
17
17
if (element is ! ClassElement ) {
18
18
throw src_gen.InvalidGenerationSourceError (
You can’t perform that action at this time.
0 commit comments