Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/src/submodules/cbor/CborCodec.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import type { StaticSimpleSchema, StaticStructureSchema, StringSchema, Timestamp
import { describe, expect, it } from "vitest";

import { cbor } from "./cbor";
import { CborCodec, CborShapeSerializer } from "./CborCodec";
import { tagSymbol } from "./cbor-types";
import { CborCodec, CborShapeSerializer } from "./CborCodec";

describe(CborShapeSerializer.name, () => {
const codec = new CborCodec();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ private void writeResponseTestSetup(OperationShape operation, HttpResponseTestCa
writer.write("$L,", isSuccess);
writer.write("$L,", testCase.getCode());
if (headers.isEmpty()) {
writer.write("undefined");
writer.write("undefined,");
} else {
writer.openBlock("{", "},", () -> {
for (Map.Entry<String, String> entry : headers.entrySet()) {
Expand All @@ -847,8 +847,9 @@ private void writeResponseTestSetup(OperationShape operation, HttpResponseTestCa
});
}
if (body != null) {
writer.write("`$L`", body);
writer.write("`$L`,", body);
}
writer.unwrite(",\n").write("");
});
});

Expand Down
Loading