diff options
Diffstat (limited to 'library/core/tests/option.rs')
| -rw-r--r-- | library/core/tests/option.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/library/core/tests/option.rs b/library/core/tests/option.rs index ae814efec20..5388b475624 100644 --- a/library/core/tests/option.rs +++ b/library/core/tests/option.rs @@ -402,3 +402,13 @@ fn test_unwrap_drop() { assert_eq!(x.get(), 0); } + +#[test] +pub fn option_ext() { + let thing = "{{ f }}"; + let f = thing.find("{{"); + + if f.is_none() { + println!("None!"); + } +} |
