Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rico Suter committed Sep 26, 2023
1 parent 16bc1c0 commit 025d5ef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ public async Task When_generating_from_json_schema_string_property_with_date_or_
var code = generator.GenerateFile("MyClass");

//// Assert
Assert.Contains("public string Required { get; set; }= default!;", code);
Assert.Contains("public string? Optional { get; set; }= default!;", code);
Assert.Contains("public string Required { get; set; } = default!;", code);
Assert.Contains("public string? Optional { get; set; } = default!;", code);
}
}
}

0 comments on commit 025d5ef

Please sign in to comment.