Skip to main content

non_empty_unicode_string

Function non_empty_unicode_string 

Source
pub fn non_empty_unicode_string() -> impl Strategy<Value = String>
Expand description

Generate a non-empty Unicode string.

Useful when call sites need at least one code point and should avoid separate assumptions/filters in their property tests.