Skip to content

Commit ffb5518

Browse files
committed
fix code format
1 parent 92800ae commit ffb5518

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/serialization/multipart/test/common/multipartSerializationWriter.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,16 @@ describe("MultipartSerializationWriter", () => {
5555
const mpBody = new MultipartBody();
5656
mpBody.addOrReplacePart("testPart", "text/plain", "test content");
5757
mpBody.requestAdapter = {
58-
getSerializationWriterFactory: () => new JsonSerializationWriterFactory(),
58+
getSerializationWriterFactory: () => new JsonSerializationWriterFactory(),
5959
} as RequestAdapter;
60-
60+
6161
multipartSerializationWriter.writeObjectValue(undefined, mpBody, serializeMultipartBody);
6262
const multipartContent = multipartSerializationWriter.getSerializedContent();
6363
const result = new TextDecoder().decode(multipartContent);
64-
64+
6565
const expectedString = `--${mpBody.getBoundary()}\r\nContent-Type: text/plain\r\nContent-Disposition: form-data; name="testPart"\r\n\r\ntest content\r\n--${mpBody.getBoundary()}--\r\n`;
6666
assert.equal(result, expectedString);
67-
});
67+
});
6868
it("writes a structured object", () => {
6969
const testEntity = {} as TestEntity;
7070
testEntity.id = "48d31887-5fad-4d73-a9f5-3c356e68a038";

0 commit comments

Comments
 (0)