]> granicus.if.org Git - neomutt/commitdiff
test: drop unreliable bool test
authorRichard Russon <rich@flatcap.org>
Fri, 27 Jul 2018 16:03:31 +0000 (17:03 +0100)
committerRichard Russon <rich@flatcap.org>
Fri, 27 Jul 2018 16:20:45 +0000 (17:20 +0100)
test/config/bool.c

index 8d166e27fe1c7598cf702e7f1c8172ec7d2ec3c9..54ae348f56f6ab3583ada4007245a93561db82d2 100644 (file)
@@ -259,16 +259,6 @@ static bool test_string_get(struct ConfigSet *cs, struct Buffer *err)
   }
   TEST_MSG("%s = %d, %s\n", name, VarElderberry, err->data);
 
-  VarElderberry = 3;
-  mutt_buffer_reset(err);
-  TEST_MSG("Expect error for next test\n");
-  rc = cs_str_string_get(cs, name, err);
-  if (TEST_CHECK(CSR_RESULT(rc) != CSR_SUCCESS))
-  {
-    TEST_MSG("Get failed\n");
-    // return false;
-  }
-
   log_line(__func__);
   return true;
 }