mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-02 14:38:34 +02:00
Unit Tests - correction to T::compose tests
- Uses " instead of ' to quote annotations.
This commit is contained in:
parent
76c66b8ab1
commit
1b6faf57c9
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ int main (int argc, char** argv)
|
||||||
t.setDescription ("sample");
|
t.setDescription ("sample");
|
||||||
std::string format = t.compose ();
|
std::string format = t.compose ();
|
||||||
test.is (format.substr (36, 20), " - [foo] [bar:baz] [", "compose tag, attribute");
|
test.is (format.substr (36, 20), " - [foo] [bar:baz] [", "compose tag, attribute");
|
||||||
test.is (format.substr (66, 16), ":'woof'] sample\n", "compose annotation");
|
test.is (format.substr (66, 16), ":\"woof\"] sample\n", "compose annotation");
|
||||||
test.is (t.getAnnotationCount (), 1, "annotation count");
|
test.is (t.getAnnotationCount (), 1, "annotation count");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue