From ca798710123d81119c0f3ee998998d5884d252bd Mon Sep 17 00:00:00 2001
From: JParams <26733487+jparams@users.noreply.github.com>
Date: Fri, 7 Sep 2018 14:49:57 +0100
Subject: [PATCH] Fix typo
---
.../java/com/jparams/verifier/tostring/ToStringVerifier.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/com/jparams/verifier/tostring/ToStringVerifier.java b/src/main/java/com/jparams/verifier/tostring/ToStringVerifier.java
index d041e08..ec0c3f4 100644
--- a/src/main/java/com/jparams/verifier/tostring/ToStringVerifier.java
+++ b/src/main/java/com/jparams/verifier/tostring/ToStringVerifier.java
@@ -250,7 +250,7 @@ public ToStringVerifier withMatchingFields(final String regex)
* Define how the verifier should behave if the {@link Object#toString()} output contains a field that has been explicitly excluded by
* calling {@link #withIgnoredFields(String...)} or implicitly excluded by calling {@link #withOnlyTheseFields(String...)} or
* {@link #withMatchingFields(String)}. By default, the verifier will not test for the presence of the excluded fields and will not fail
- * if they exist in the {@link Object#toString()} output when they should not. You can change this behavior by setting failOnExcludedFields
+ * if they exist in the {@link Object#toString()} output when they should not. You can change this behaviour by setting failOnExcludedFields
* to true.
*
* @param failOnExcludedFields fail if ignored fields are found in the {@link Object#toString()} output