Replace "you're"
This commit replaces "you're" with some other structure, often simplifying the sentence in the process. Also checked for words that end with "'ll" and "n't" but did not find any. See gh-28710
This commit is contained in:
committed by
Andy Wilkinson
parent
00fa0fb769
commit
e629e77b29
@@ -354,7 +354,7 @@ include::{docs-java}/features/testing/springbootapplications/jsontests/MyJsonTes
|
||||
NOTE: JSON helper classes can also be used directly in standard unit tests.
|
||||
To do so, call the `initFields` method of the helper in your `@Before` method if you do not use `@JsonTest`.
|
||||
|
||||
If you're using Spring Boot's AssertJ-based helpers to assert on a number value at a given JSON path, you might not be able to use `isEqualTo` depending on the type.
|
||||
If you use Spring Boot's AssertJ-based helpers to assert on a number value at a given JSON path, you might not be able to use `isEqualTo` depending on the type.
|
||||
Instead, you can use AssertJ's `satisfies` to assert that the value matches the given condition.
|
||||
For instance, the following example asserts that the actual number is a float value close to `0.15` within an offset of `0.01`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user