Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Roddie committed Oct 12, 2023
1 parent 7e736ec commit 1289d23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CBOR/PeterO/Cbor/CBORTypeMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public CBORTypeMapper AddConverter<T>(
{
Converter = converter,
ToObject = PropertyMap.FindOneArgumentMethod(
typeof(ICBORConverter<T>),
converter.GetType(),
"ToCBORObject",
type),
};
Expand All @@ -63,7 +63,7 @@ public CBORTypeMapper AddConverter<T>(
"Converter doesn't contain a proper ToCBORObject method");
}
ci.FromObject = PropertyMap.FindOneArgumentMethod(
typeof(ICBORConverter<T>),
converter.GetType(),
"FromCBORObject",
typeof(CBORObject));
this.converters[type] = ci;
Expand Down

0 comments on commit 1289d23

Please sign in to comment.