test: tags keys should be case insensitive

This commit is contained in:
Frédéric Mangano
2016-03-02 15:20:15 +01:00
parent 898846f1f4
commit 5e19657d25

View File

@@ -54,4 +54,10 @@ TEST_CASE("Tag manipulation test", "[tags]")
tags.set("TITLE=Foo=Bar");
REQUIRE(tags.get("TITLE") == "Foo=Bar");
}
SECTION("Case insensitiveness for keys") {
Tags tags;
tags.set("TiTlE=Boop");
REQUIRE(tags.get("tiTLE") == "Boop");
}
}