Commit f01bc8a1 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[2148] final touches

parent a47ad989
...@@ -343,7 +343,6 @@ public: ...@@ -343,7 +343,6 @@ public:
/// \return true if the last label is the root label /// \return true if the last label is the root label
bool isAbsolute() const; bool isAbsolute() const;
void dump() const;
private: private:
const uint8_t* data_; // wire-format name data const uint8_t* data_; // wire-format name data
const uint8_t* offsets_; // an array of offsets in data_ for the labels const uint8_t* offsets_; // an array of offsets in data_ for the labels
......
...@@ -946,6 +946,7 @@ TEST_F(ExtendableLabelSequenceTest, extend) { ...@@ -946,6 +946,7 @@ TEST_F(ExtendableLabelSequenceTest, extend) {
check_compare(ls1, els, isc::dns::NameComparisonResult::COMMONANCESTOR, 1); check_compare(ls1, els, isc::dns::NameComparisonResult::COMMONANCESTOR, 1);
els.extend(ls3, buf); els.extend(ls3, buf);
EXPECT_TRUE(els.isAbsolute());
check_equal(ls1, els); check_equal(ls1, els);
stripLeftCheck(ls1, els, ls4); stripLeftCheck(ls1, els, ls4);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment