Diff

spec/util_dbuffer_spec.lua @ 11158:3a72cb126d6c

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 12 Oct 2020 21:29:20 +0200
parent 11114:6a608ecb3471
parent 11156:a8ef69f7fc35
child 11636:11e0a0a08da3
line wrap: on
line diff
--- a/spec/util_dbuffer_spec.lua	Mon Oct 12 18:27:42 2020 +0200
+++ b/spec/util_dbuffer_spec.lua	Mon Oct 12 21:29:20 2020 +0200
@@ -42,6 +42,7 @@
 			assert.truthy(b:write("hello world"));
 			assert.truthy(b:discard(6));
 			assert.equal(5, b:length());
+			assert.equal(5, b:len());
 			assert.equal("world", b:read(5));
 		end);
 	end);