From 01f0866764c72d918ce51efe55a18767461912eb Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Wed, 26 Dec 2018 00:11:04 +0100 Subject: One more test case for capitalize(). --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index c33924d..60d04bc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -38,6 +38,7 @@ fn test_capitalize() { assert_eq!("Ångström", capitalize("ångström")); assert_eq!("Å i lofoten", capitalize("å i lofoten")); assert_eq!("Ååååh", capitalize("ååååh")); + assert_eq!("", capitalize("")); } fn print_entry(d: &serde_yaml::Value) { -- cgit v1.2.3