Skip to content

Commit 5bbc2cf

Browse files
committed
chore: cleaned up
1 parent d956ea8 commit 5bbc2cf

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

openapi-generator/test/test_annotations/test_configs.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ const updateAnnotatedFile = true;
4242
class TestClassHasCustomAnnotations {}
4343

4444
@ShouldGenerate(r'''
45-
4645
const additionalProperties = wrapper = 'flutterw', nullableFields = 'true';
4746
4847
const fetchDependencies = true;
@@ -56,7 +55,6 @@ const runSourceGenOnOutput = true;
5655
const skipSpecValidation = false;
5756
5857
const updateAnnotatedFile = true;
59-
6058
''')
6159
@Openapi(
6260
inputSpec: InputSpec(path: ''),

openapi-generator/test/test_annotations/test_generator.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class TestGenerator extends src_gen.GeneratorForAnnotation<Openapi> {
1212
@override
1313
Iterable<String> generateForAnnotatedElement(Element element,
1414
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");
1616

1717
if (element is! ClassElement) {
1818
throw src_gen.InvalidGenerationSourceError(

0 commit comments

Comments
 (0)