aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);