aboutsummaryrefslogtreecommitdiff
path: root/src/buffer.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-09-22 21:18:27 -0400
committerGitHub <noreply@github.com>2019-09-22 21:18:27 -0400
commit35c1d8cefc3a77b867ecc2da999162781099b4c6 (patch)
tree572620e3af2d8254f74fdd7086eab1e851148084 /src/buffer.cpp
parent989cd4233e14d592c19d458fee24ff0fa9fd9638 (diff)
parent55925b6e259b5453b8af29a5365d82378cb1d54b (diff)
downloadzig-35c1d8cefc3a77b867ecc2da999162781099b4c6.tar.gz
zig-35c1d8cefc3a77b867ecc2da999162781099b4c6.zip
Merge pull request #3290 from ziglang/more-test-coverage
significantly increase test coverage
Diffstat (limited to 'src/buffer.cpp')
-rw-r--r--src/buffer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/buffer.cpp b/src/buffer.cpp
index 3564481b84..86435e0f14 100644
--- a/src/buffer.cpp
+++ b/src/buffer.cpp
@@ -61,7 +61,6 @@ void buf_appendf(Buf *buf, const char *format, ...) {
// these functions are not static inline so they can be better used as template parameters
bool buf_eql_buf(Buf *buf, Buf *other) {
- assert(buf->list.length);
return buf_eql_mem(buf, buf_ptr(other), buf_len(other));
}