Browse Source

[2148] final touches

Jelte Jansen 12 years ago
parent
commit
f01bc8a1bf
2 changed files with 1 additions and 1 deletions
  1. 0 1
      src/lib/dns/labelsequence.h
  2. 1 0
      src/lib/dns/tests/labelsequence_unittest.cc

+ 0 - 1
src/lib/dns/labelsequence.h

@@ -343,7 +343,6 @@ public:
     /// \return true if the last label is the root label
     bool isAbsolute() const;
 
-    void dump() const;
 private:
     const uint8_t* data_;       // wire-format name data
     const uint8_t* offsets_;    // an array of offsets in data_ for the labels

+ 1 - 0
src/lib/dns/tests/labelsequence_unittest.cc

@@ -946,6 +946,7 @@ TEST_F(ExtendableLabelSequenceTest, extend) {
 
     check_compare(ls1, els, isc::dns::NameComparisonResult::COMMONANCESTOR, 1);
     els.extend(ls3, buf);
+    EXPECT_TRUE(els.isAbsolute());
 
     check_equal(ls1, els);
     stripLeftCheck(ls1, els, ls4);