mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Removed obsolete test ('1ST' --> not a date).
This commit is contained in:
parent
d1f5020fab
commit
5901a245f1
1 changed files with 1 additions and 4 deletions
|
@ -36,7 +36,7 @@ Context context;
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int argc, char** argv)
|
||||
{
|
||||
UnitTest t (209);
|
||||
UnitTest t (208);
|
||||
|
||||
// Ensure environment has no influence.
|
||||
unsetenv ("TASKDATA");
|
||||
|
@ -366,9 +366,6 @@ int main (int argc, char** argv)
|
|||
t.notok (first.sameMonth (now), "1st not in same month as now");
|
||||
t.is (first.day (), 1, "1st day is 1");
|
||||
|
||||
Date FIRST ("1ST");
|
||||
t.ok (FIRST == first, "1st == 1ST");
|
||||
|
||||
Date later ("later");
|
||||
t.is (later.month (), 1, "later -> m = 1");
|
||||
t.is (later.day (), 18, "later -> d = 18");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue