mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Lexer: Switched argument order for ::decomposePair
This commit is contained in:
parent
826c6986ae
commit
e36fb2f10c
2 changed files with 3 additions and 3 deletions
|
@ -200,7 +200,7 @@ int main (int argc, char** argv)
|
|||
for (auto& value : {"", "value", "a:b", "a::b", "a=b", "a:=b"})
|
||||
{
|
||||
std::string input = std::string ("name") + (strlen (mod) ? "." : "") + mod + sep + value;
|
||||
t.ok (Lexer::decomposePair (input, outName, outMod, outValue, outSep), "decomposePair '" + input + "' --> true");
|
||||
t.ok (Lexer::decomposePair (input, outName, outMod, outSep, outValue), "decomposePair '" + input + "' --> true");
|
||||
t.is (name, outName, " '" + input + "' --> name '" + name + "'");
|
||||
t.is (mod, outMod, " '" + input + "' --> mod '" + mod + "'");
|
||||
t.is (value, outValue, " '" + input + "' --> value '" + value + "'");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue