Skip to content

Commit

Permalink
test: fix some tests about json to prevent nullability (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
Seddryck authored Sep 16, 2024
1 parent 0f69373 commit 2770793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Streamistry.Json.Testing/ObjectPropertyAppenderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void X()
var pipeline = new Pipeline([persons, birthdates]);
var personObject = new ObjectParser(persons);
var birthdateValue = new ValueMapper<DateOnly>(birthdates, date => date.ToString("yyyy-MM-dd"));
var appender = new ObjectPropertyAppender<JsonObject, JsonValue>(personObject, birthdateValue, "$.user.birthdate");
var appender = new ObjectPropertyAppender<JsonObject, JsonValue>(personObject!, birthdateValue!, "$.user.birthdate");
var sink = new MemorySink<JsonObject>(appender);
pipeline.Start();

Expand Down

0 comments on commit 2770793

Please sign in to comment.