mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-02 14:38:34 +02:00
Enhancements - Context integration
- Context now gathers messages and footnotes. - task now calls into the new 1.8.0 code (via Context), then calls into the old 1.7.0 code. Two for the price of one.
This commit is contained in:
parent
024986fe88
commit
54f155f439
4 changed files with 62 additions and 19 deletions
|
@ -37,10 +37,10 @@ int main (int argc, char** argv)
|
|||
T2 t;
|
||||
t.addTag ("tag1");
|
||||
t.addTag ("tag2");
|
||||
test.is (t.composeF4 (), "[tag:\"tag1&commatag2\" uuid:\"...\"]", "T2::addTag");
|
||||
test.is (t.composeF4 (), "[tags:\"tag1,tag2\" uuid:\"...\"]", "T2::addTag");
|
||||
|
||||
T2 t2 (t.composeF4 ());
|
||||
test.is (t2.composeF4 (), "[tag:\"tag1&commatag2\" uuid:\"...\"]", "T2::composeF4 -> parse round trip");
|
||||
test.is (t2.composeF4 (), "[tags:\"tag1,tag2\" uuid:\"...\"]", "T2::composeF4 -> parse round trip");
|
||||
|
||||
// Round-trip testing.
|
||||
T2 t3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue