Skip to content

Commit

Permalink
Adjusted FakeBuffer Mock (write method was removed from Buffer::Insta…
Browse files Browse the repository at this point in the history
…nce).

Signed-off-by: Christoph Pakulski <christoph@tetrate.io>
  • Loading branch information
cpakulski committed Oct 13, 2020
1 parent 574c533 commit ab9e756
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,6 @@ class FakeBuffer : public Buffer::Instance {
MOCK_METHOD(ssize_t, search, (const void*, uint64_t, size_t, size_t), (const, override));
MOCK_METHOD(bool, startsWith, (absl::string_view), (const, override));
MOCK_METHOD(std::string, toString, (), (const, override));
MOCK_METHOD(Api::IoCallUint64Result, write, (Network::IoHandle&), (override));
};

// Test verifies that decoder calls Buffer::linearize method
Expand Down

0 comments on commit ab9e756

Please sign in to comment.