aboutsummaryrefslogtreecommitdiff
path: root/pandoc-lua-engine/test/lua/module/pandoc-structure.lua
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2024-10-14 07:21:08 +0200
committerAlbert Krewinkel <[email protected]>2024-10-14 07:53:12 +0200
commitd39994375924a29fc8c518acc9fee7a936f14a31 (patch)
treea8c7b0d45dd068313ae559ac74088d1dd0191580 /pandoc-lua-engine/test/lua/module/pandoc-structure.lua
parent734227a59d416e4512f418468c714b59585cb5e2 (diff)
Lua: Remove prefixes from Lua type names
Lua type names were inconsistent with regard to the use of prefixes; all prefixes are removed now, and Lua types now have the same name as the Haskell types. The use of app-specific prefixes is suggested by the Lua manual to avoid collisions. However, this shouldn't be a problem with pandoc, as it cannot be used as a Lua package. Closes: #8574
Diffstat (limited to 'pandoc-lua-engine/test/lua/module/pandoc-structure.lua')
-rw-r--r--pandoc-lua-engine/test/lua/module/pandoc-structure.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc-lua-engine/test/lua/module/pandoc-structure.lua b/pandoc-lua-engine/test/lua/module/pandoc-structure.lua
index af19785c9..ff2abba22 100644
--- a/pandoc-lua-engine/test/lua/module/pandoc-structure.lua
+++ b/pandoc-lua-engine/test/lua/module/pandoc-structure.lua
@@ -59,7 +59,7 @@ return {
test('returns a chunked doc', function ()
assert.are_equal(
pandoc.utils.type(structure.split_into_chunks(pandoc.Pandoc{})),
- 'pandoc.ChunkedDoc'
+ 'ChunkedDoc'
)
end),
},