mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Tests: Rules no longer counts default settings
- Instead, assumes there are >30 default settings, which is currently and most likely always going to be true.
This commit is contained in:
parent
6255ba1c05
commit
eaf72ff1f2
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ int main (int, char**)
|
|||
r.set ("one.two", 12);
|
||||
r.set ("one.two.three", 123);
|
||||
r.set ("one.two.four", 124);
|
||||
t.is ((int) r.all ().size (), 35, "Rules all (\"\") --> 35");
|
||||
t.ok ((int) r.all ().size () > 30, "Rules all (\"\") --> >30");
|
||||
t.ok (r.all ("one.two").size () == 3, "Rules all (\"one.two\") --> 3");
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue