[SimpleConf] Small test tweak

This commit is contained in:
TennesseeTrash 2025-06-09 01:41:38 +02:00
parent 167b8bee8d
commit 04487e3a75
2 changed files with 3 additions and 2 deletions

View file

@ -14,10 +14,10 @@ TEST_CASE("Ensure robust parsing")
ContainsSubstring("[Line 3]"));
}
SECTION("Multiple assignments")
SECTION("Hash in key")
{
REQUIRE_THROWS_WITH(Garbage::SimpleConf(configs / "Parsing-HashInKey.conf"),
ContainsSubstring("[Line 5]"));
ContainsSubstring("[Line 6]"));
}
SECTION("No equals")

View file

@ -1,5 +1,6 @@
# A simple config file that contains a # character inside the key
uhh=
normal_key=normal_value
another_key=another_value
a_very_bas#ic_key=generic_value