Skip to content

Commit db19c2b

Browse files
committed
#124: formatted code
1 parent fc6e49f commit db19c2b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/writer/model_reader_test.dart

+6-3
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ TestModel:
9191
expect(error, isNotNull);
9292
expect(error, isArgumentError);
9393
if (error is ArgumentError) {
94-
expect(error.message, 'required is removed, follow the migration to version 7.0.0');
94+
expect(error.message,
95+
'required is removed, follow the migration to version 7.0.0');
9596
}
9697
});
9798

@@ -117,7 +118,8 @@ TestModel:
117118
expect(error, isNotNull);
118119
expect(error, isException);
119120
if (error is Exception) {
120-
expect(error.toString(), 'Exception: Could not generate all models. `array` is not added to the config file');
121+
expect(error.toString(),
122+
'Exception: Could not generate all models. `array` is not added to the config file');
121123
}
122124
});
123125

@@ -144,7 +146,8 @@ TestModel:
144146
expect(error, isNotNull);
145147
expect(error, isException);
146148
if (error is Exception) {
147-
expect(error.toString(), 'Exception: Could not generate all models. `map` is not added to the config file');
149+
expect(error.toString(),
150+
'Exception: Could not generate all models. `map` is not added to the config file');
148151
}
149152
});
150153

0 commit comments

Comments
 (0)