Skip to content

Commit

Permalink
build(deps-dev): bump prettier-plugin-java from 2.6.4 to 2.6.5 (#1642)
Browse files Browse the repository at this point in the history
* build(deps-dev): bump prettier-plugin-java from 2.6.4 to 2.6.5

Bumps [prettier-plugin-java](https://github.com/jhipster/prettier-java) from 2.6.4 to 2.6.5.
- [Release notes](https://github.com/jhipster/prettier-java/releases)
- [Changelog](https://github.com/jhipster/prettier-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jhipster/prettier-java/compare/[email protected]@2.6.5)

---
updated-dependencies:
- dependency-name: prettier-plugin-java
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix prettier

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt Raible <[email protected]>
  • Loading branch information
dependabot[bot] and mraible authored Oct 28, 2024
1 parent d6901f5 commit 79824b9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,11 @@ void multiplePagesTest() {
assertThat(strHeaders).hasSize(1);
headerData = strHeaders.get(0);
assertThat(headerData.split(",")).hasSize(4);
expectedData = "</api/_search/example?query=Test1%2C%20test2&page=2&size=50>; rel=\"next\"," +
"</api/_search/example?query=Test1%2C%20test2&page=0&size=50>; rel=\"prev\"," +
"</api/_search/example?query=Test1%2C%20test2&page=7&size=50>; rel=\"last\"," +
"</api/_search/example?query=Test1%2C%20test2&page=0&size=50>; rel=\"first\"";
expectedData =
"</api/_search/example?query=Test1%2C%20test2&page=2&size=50>; rel=\"next\"," +
"</api/_search/example?query=Test1%2C%20test2&page=0&size=50>; rel=\"prev\"," +
"</api/_search/example?query=Test1%2C%20test2&page=7&size=50>; rel=\"last\"," +
"</api/_search/example?query=Test1%2C%20test2&page=0&size=50>; rel=\"first\"";
assertThat(headerData).isEqualTo(expectedData);
xTotalCountHeaders = headers.get("X-Total-Count");
assertThat(xTotalCountHeaders).hasSize(1).extracting(Long::parseLong).containsExactly(400L);
Expand All @@ -131,10 +132,11 @@ void multiplePagesTest() {
assertThat(strHeaders).hasSize(1);
headerData = strHeaders.get(0);
assertThat(headerData.split(",")).hasSize(4);
expectedData = "</api/_search/example?query=Test1%2C%20test2&page=7&size=50>; rel=\"next\"," +
"</api/_search/example?query=Test1%2C%20test2&page=5&size=50>; rel=\"prev\"," +
"</api/_search/example?query=Test1%2C%20test2&page=7&size=50>; rel=\"last\"," +
"</api/_search/example?query=Test1%2C%20test2&page=0&size=50>; rel=\"first\"";
expectedData =
"</api/_search/example?query=Test1%2C%20test2&page=7&size=50>; rel=\"next\"," +
"</api/_search/example?query=Test1%2C%20test2&page=5&size=50>; rel=\"prev\"," +
"</api/_search/example?query=Test1%2C%20test2&page=7&size=50>; rel=\"last\"," +
"</api/_search/example?query=Test1%2C%20test2&page=0&size=50>; rel=\"first\"";
assertThat(headerData).isEqualTo(expectedData);
xTotalCountHeaders = headers.get("X-Total-Count");
assertThat(xTotalCountHeaders).hasSize(1).extracting(Long::parseLong).containsExactly(400L);
Expand All @@ -148,9 +150,10 @@ void multiplePagesTest() {
assertThat(strHeaders).hasSize(1);
headerData = strHeaders.get(0);
assertThat(headerData.split(",")).hasSize(3);
expectedData = "</api/_search/example?query=Test1%2C%20test2&page=6&size=50>; rel=\"prev\"," +
"</api/_search/example?query=Test1%2C%20test2&page=7&size=50>; rel=\"last\"," +
"</api/_search/example?query=Test1%2C%20test2&page=0&size=50>; rel=\"first\"";
expectedData =
"</api/_search/example?query=Test1%2C%20test2&page=6&size=50>; rel=\"prev\"," +
"</api/_search/example?query=Test1%2C%20test2&page=7&size=50>; rel=\"last\"," +
"</api/_search/example?query=Test1%2C%20test2&page=0&size=50>; rel=\"first\"";
assertThat(headerData).isEqualTo(expectedData);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
},
"devDependencies": {
"prettier": "3.3.3",
"prettier-plugin-java": "2.6.4"
"prettier-plugin-java": "2.6.5"
}
}

0 comments on commit 79824b9

Please sign in to comment.