aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_dbuffer_spec.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-10-12 21:29:20 +0200
committerKim Alvefur <zash@zash.se>2020-10-12 21:29:20 +0200
commitb0393fe9e1c0a46319cff8de8bb05d7b5dbcff3b (patch)
treee4d006dc4649263aa45d6fb1ce4103abfc20a1e3 /spec/util_dbuffer_spec.lua
parentb4af560c9711221a4da3da41c8cef1d302b63beb (diff)
parentfb63187afceb8339b6142cc0b96162eb1c9af3b8 (diff)
downloadprosody-b0393fe9e1c0a46319cff8de8bb05d7b5dbcff3b.tar.gz
prosody-b0393fe9e1c0a46319cff8de8bb05d7b5dbcff3b.zip
Merge 0.11->trunk
Diffstat (limited to 'spec/util_dbuffer_spec.lua')
-rw-r--r--spec/util_dbuffer_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/util_dbuffer_spec.lua b/spec/util_dbuffer_spec.lua
index af404042..2b1af835 100644
--- a/spec/util_dbuffer_spec.lua
+++ b/spec/util_dbuffer_spec.lua
@@ -42,6 +42,7 @@ describe("util.dbuffer", function ()
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);