diff options
author | Kim Alvefur <zash@zash.se> | 2020-10-12 21:29:20 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-10-12 21:29:20 +0200 |
commit | ab1977f889c6a1f8898cca4119d315c1c71a3b0e (patch) | |
tree | e4d006dc4649263aa45d6fb1ce4103abfc20a1e3 /spec | |
parent | fdb82bc5938bcd60b7578ed112b40166c237cbc9 (diff) | |
parent | 0e8366644db4f804a4ad2bf80959a6140da1b504 (diff) | |
download | prosody-ab1977f889c6a1f8898cca4119d315c1c71a3b0e.tar.gz prosody-ab1977f889c6a1f8898cca4119d315c1c71a3b0e.zip |
Merge 0.11->trunk
Diffstat (limited to 'spec')
-rw-r--r-- | spec/util_dbuffer_spec.lua | 1 |
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); |