Upgrade JSONAssert to 2.0-rc1

pull/7455/head
John Niang 2025-05-21 10:37:04 +08:00
parent f18cf18862
commit c73f0ddeee
No known key found for this signature in database
GPG Key ID: D7363C015BBCAA59
2 changed files with 4 additions and 3 deletions

View File

@ -42,10 +42,10 @@ class ContentRequestTest {
@Test
void toSnapshot() throws JSONException {
String expectedContentPath =
"<p>Four score and seven</p>\n<p>years ago our fathers</p>\n<br/>\n<p>brought forth "
+ "on this continent</p>\n";
"<p>Four score and seven</p>\\n<p>years ago our fathers</p>\\n<br/>\\n<p>brought forth "
+ "on this continent</p>\\n";
String expectedRawPatch =
"Four score and seven\nyears ago our fathers\n\nbrought forth on this continent\n";
"Four score and seven\\nyears ago our fathers\\n\\nbrought forth on this continent\\n";
Snapshot snapshot = contentRequest.toSnapshot();
snapshot.getMetadata().setName("7b149646-ac60-4a5c-98ee-78b2dd0631b2");
JSONAssert.assertEquals(JsonUtils.objectToJson(snapshot),

View File

@ -1,2 +1,3 @@
version=2.21.0-SNAPSHOT
r2dbc-mysql.version=1.4.0
jsonassert.version=2.0-rc1