diff --git a/src/bindings/lua/test.lua b/src/bindings/lua/test.lua
index 6fd108c1a5702c1bb9815966b45d3abf33894843..eae6abd9eb9f8a3f87451fee23e8b472cc22ecd3 100644
--- a/src/bindings/lua/test.lua
+++ b/src/bindings/lua/test.lua
@@ -309,7 +309,7 @@ describe("Combinator tests", function()
   end)
 
   describe("End-of-input tests", function()
-    local parser = hammer.seq()uence(hammer.ch("a"), hammer.end_p())
+    local parser = hammer.sequence(hammer.ch("a"), hammer.end_p())
     it("parses a string that ends where it is expected to", function()
       local ret = parser:parse("a")
       assert.are.same({"a"}, ret.ast.seq())
@@ -841,4 +841,4 @@ describe("Combinator tests", function()
   --     assert.is_falsy(ret)
   --   end)
   -- end)
-end)
\ No newline at end of file
+end)