aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-06-25 15:45:13 +0100
committerMatthew Wild <mwild1@gmail.com>2020-06-25 15:45:13 +0100
commit558a365575c4ac2d601c19fcbd2bd6fd27078ac6 (patch)
tree0117e9772a26f9703c53d5af4341a97edb942706 /spec
parent6daae1f629f669872221186e7d2f9124fd66873f (diff)
downloadprosody-558a365575c4ac2d601c19fcbd2bd6fd27078ac6.tar.gz
prosody-558a365575c4ac2d601c19fcbd2bd6fd27078ac6.zip
util.ringbuffer: Fix accidentally committed test change (thanks buildbot)
Diffstat (limited to 'spec')
-rw-r--r--spec/util_ringbuffer_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/util_ringbuffer_spec.lua b/spec/util_ringbuffer_spec.lua
index 3c052937..633885a8 100644
--- a/spec/util_ringbuffer_spec.lua
+++ b/spec/util_ringbuffer_spec.lua
@@ -79,7 +79,7 @@ describe("util.ringbuffer", function ()
it("is equivalent to string:byte", function ()
local b = rb.new(6);
- assert.truthy(b:write("foo"..string.char(0, 140).."obar"));
+ assert.truthy(b:write("foobar"));
b:read(3);
b:write("foo");
test_byte(b, 1);