Module string

Module string 

Source
Expand description

Contains assertions for string values, including among others String and references to str. See StringAssertions for more details.

Modules§

pattern
Contains assertions for patterns within string values, such as substrings and prefixes. See StringPatternAssertions for more details.

Traits§

StringAssertions
An extension trait to be used on the output of assert_that with a String argument. This trait contains basic assertions on the string itself and individual characters. For comparing strings (such as contains, prefix, and suffix relations), see StringPatternAssertions.