From eaf72ff1f205a5a784fcf239a11dad4fb831733c Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 28 May 2016 14:52:45 -0400 Subject: [PATCH] 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. --- test/rules.t.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rules.t.cpp b/test/rules.t.cpp index af084277..e8d9906b 100644 --- a/test/rules.t.cpp +++ b/test/rules.t.cpp @@ -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;