Skip to content

Commit

Permalink
test: update test code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe authored Aug 19, 2024
1 parent 35e12af commit 552e4d6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void resolveServiceProtocol(@Mock Model model,
@Mock ServiceIndex serviceIndex) {
TypeScriptSettings subject = new TypeScriptSettings();

// note: these are mock protocol names.
// these are mock protocol names.
ShapeId rpcv2Cbor = ShapeId.from("namespace#rpcv2Cbor");
ShapeId json1_0 = ShapeId.from("namespace#json1_0");
ShapeId json1_1 = ShapeId.from("namespace#json1_1");
Expand All @@ -130,7 +130,7 @@ public void resolveServiceProtocol(@Mock Model model,
json1_0, null
));
ShapeId protocol = subject.resolveServiceProtocol(model, service, protocolShapeIds);
// Note: JS customization JSON higher default priority than CBOR.
// JS customization has JSON at higher default priority than CBOR.
assertEquals(json1_0, protocol);
}

Expand All @@ -151,7 +151,7 @@ public void resolveServiceProtocol(@Mock Model model,
query, null
));
ShapeId protocol = subject.resolveServiceProtocol(model, service, protocolShapeIds);
// Note: JS customization JSON higher default priority than CBOR.
// JS customization has JSON at higher default priority than CBOR.
assertEquals(json1_0, protocol);
}

Expand Down

0 comments on commit 552e4d6

Please sign in to comment.