Crate assert_text[][src]

Expand description

the testing macro tools.

This checks that strings are equal. You will see different characters if that is different.

  • minimum support rustc 1.43.0

Features

  • assert_text_eq!(txt1, txt2)
  • assert_text_starts_with!(txt1, txt2)
  • assert_text_ends_with!(txt1, txt2)
  • assert_text_match!(txt1, regex_text2)

Macros

Functions