aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-12-26 00:11:04 +0100
committerHarald Eilertsen <haraldei@anduin.net>2018-12-26 00:11:04 +0100
commit01f0866764c72d918ce51efe55a18767461912eb (patch)
tree5977066fa2a141b8129c6b0d4f892c9cb396a386
parent1e1a65eaf06d5691001d1ec62aa4fb3d61b0d41c (diff)
downloadprimstav-01f0866764c72d918ce51efe55a18767461912eb.tar.gz
primstav-01f0866764c72d918ce51efe55a18767461912eb.tar.bz2
primstav-01f0866764c72d918ce51efe55a18767461912eb.zip
One more test case for capitalize().
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
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) {