aboutsummaryrefslogtreecommitdiffstats
path: root/spec
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
commitab1977f889c6a1f8898cca4119d315c1c71a3b0e (patch)
treee4d006dc4649263aa45d6fb1ce4103abfc20a1e3 /spec
parentfdb82bc5938bcd60b7578ed112b40166c237cbc9 (diff)
parent0e8366644db4f804a4ad2bf80959a6140da1b504 (diff)
downloadprosody-ab1977f889c6a1f8898cca4119d315c1c71a3b0e.tar.gz
prosody-ab1977f889c6a1f8898cca4119d315c1c71a3b0e.zip
Merge 0.11->trunk
Diffstat (limited to 'spec')
-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);