mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Fixed compile warning caused by an ambiguous decimal type.
This commit is contained in:
parent
a95832ff3b
commit
8177b74a52
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ int main (int argc, char** argv)
|
|||
// Task::get_ulong
|
||||
task.set ("two", "4294967295");
|
||||
t.is (task.composeF4 (), "[name:\"value\" one:\"1\" two:\"4294967295\"]\n", "Task::set");
|
||||
t.is ((size_t)task.get_ulong ("two"), (size_t)4294967295, "Task::get_ulong");
|
||||
t.is ((size_t)task.get_ulong ("two"), (size_t)4294967295UL, "Task::get_ulong");
|
||||
|
||||
// Task::remove
|
||||
task.remove ("one");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue