Order methods that take a type as a lambda consistently

Closes gh-32062
This commit is contained in:
Stéphane Nicoll
2024-01-19 11:53:35 +01:00
parent 18ea43c905
commit 4f8eca1350
2 changed files with 26 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,7 +48,7 @@ class ResponseBodyTests {
.jsonPath("$.name").isEqualTo("Lee")
.jsonPath("$.age").isEqualTo(42)
.jsonPath("$.age").value(equalTo(42))
.jsonPath("$.age").value(equalTo(42.0f), Float.class);
.jsonPath("$.age").value(Float.class, equalTo(42.0f));
}