diff --git a/src/block.h b/src/block.h index 13daea1..e5dbd8d 100644 --- a/src/block.h +++ b/src/block.h @@ -59,7 +59,7 @@ class block { private: static const unsigned max_block_size_ = 16350; - static const unsigned max_lines_per_block_ = 128; + static const unsigned max_lines_per_block_ = 64; std::vector> lines_; int line_bytes_; diff --git a/test/test_block.cc b/test/test_block.cc index e5fd103..c476ee7 100644 --- a/test/test_block.cc +++ b/test/test_block.cc @@ -37,10 +37,10 @@ const lest::test specification[] = { EXPECT(!b.empty()); }, - "A block can contain 128 lines", + "A block can contain 64 lines", [] { block b; - for (int i = 0; i < 128; ++i) { + for (int i = 0; i < 64; ++i) { EXPECT(b.line_fits(1)); b.add_line(vec(1)); }