Browse Source

[1611] clean up: completely removed commented out test data that made test fail.
Removing them was actually correct as commented with "=>": they were not
atcually a wildcard match. The interface change correctly caught the
differences and made the test fail. (I separated the change of this point
from the first commit so that the intent is clearer.)

JINMEI Tatuya 13 years ago
parent
commit
945e0d9a67
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/lib/datasrc/tests/database_unittest.cc

+ 0 - 6
src/lib/datasrc/tests/database_unittest.cc

@@ -2115,16 +2115,10 @@ TYPED_TEST(DatabaseClientTest, wildcard) {
     this->expected_rdatas_.clear();
     const char* negative_names[] = {
         "a.foo.example.org.",
-        //"*.foo.example.org.", => should be an exact (empty) match
-        //"foo.example.org.", => WILDCARD should be canceled
         "wild.bar.foo.example.org.",
         "baz.foo.*.bar.example.org",
         "baz.foo.baz.bar.example.org",
         "*.foo.baz.bar.example.org",
-        //"*.foo.*.bar.example.org", => exact (empty) match
-        //"foo.*.bar.example.org", => exact (empty) match
-        //"*.bar.example.org", => exact (empty) match
-        //"bar.example.org", => exact (empty) match
         NULL
     };
     // Unless FIND_DNSSEC is specified, this is no different from other