Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
skuzzle committed Nov 14, 2022
1 parent 6d8d8c6 commit 23a9a27
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ public final class TextSnapshot implements StructuredDataProvider {

/**
* Take Snapshots using {@link Object#toString()} and compare the results using a
* generic String diff algorithm. Comparison ignores whitespace changes of any kind.
* generic String diff algorithm. Comparison ignores whitespace changes of any kind
* and does not limit the size of the unified diff.
* <p>
* You can create a more customized text comparison by using {@link #text()} and the
* several customization options.
*
* @see #text()
*/
public static final StructuredData text = text()
.withIgnoreWhitespaces(true)
Expand Down

0 comments on commit 23a9a27

Please sign in to comment.