[SimpleConf] Small test tweak
This commit is contained in:
parent
167b8bee8d
commit
04487e3a75
2 changed files with 3 additions and 2 deletions
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue