refactor: formatting action revert

This commit is contained in:
Manas Hejmadi
2025-06-22 21:28:43 +05:30
parent f20b3d8bb6
commit 1b64d05fc5
17 changed files with 179 additions and 204 deletions

View File

@@ -112,16 +112,18 @@ void main() {
group("Testing ?.getValueContentType() function", () {
test('Testing ?.getValueContentType() for header1', () {
Map<String, String> header1 = {"content-type": "application/json"};
Map<String, String> header1 = {
"content-type": "application/json",
};
String contentType1Expected = "application/json";
expect(header1.getValueContentType(), contentType1Expected);
});
test(
'Testing ?.getValueContentType() when header keys are in header case',
() {
Map<String, String> header2 = {"Content-Type": "application/json"};
expect(header2.getValueContentType(), "application/json");
},
);
test('Testing ?.getValueContentType() when header keys are in header case',
() {
Map<String, String> header2 = {
"Content-Type": "application/json",
};
expect(header2.getValueContentType(), "application/json");
});
});
}