mirror of
https://github.com/fmang/opustags.git
synced 2025-10-25 15:10:53 +02:00
test: tags keys should be case insensitive
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user