From 9e74826ba9ce4139bfdd3f057a79efa8b644e85a Mon Sep 17 00:00:00 2001
From: Albert Krewinkel <albert@zeitkraut.de>
Date: Wed, 20 Oct 2021 21:40:07 +0200
Subject: Switch to hslua-2.0

The new HsLua version takes a somewhat different approach to marshalling
and unmarshalling, relying less on typeclasses and more on specialized
types. This allows for better performance and improved error messages.

Furthermore, new abstractions allow to document the code and exposed
functions.
---
 test/lua/module/pandoc-types.lua | 25 -------------------------
 1 file changed, 25 deletions(-)

(limited to 'test/lua/module')

diff --git a/test/lua/module/pandoc-types.lua b/test/lua/module/pandoc-types.lua
index d4e063a5c..d9c9f82ac 100644
--- a/test/lua/module/pandoc-types.lua
+++ b/test/lua/module/pandoc-types.lua
@@ -55,31 +55,6 @@ return {
       end),
     },
 
-    group 'list-like behavior' {
-      test('can access version component numbers', function ()
-        local version = Version '2.7.3'
-        assert.is_nil(version[0])
-        assert.are_equal(version[1], 2)
-        assert.are_equal(version[2], 7)
-        assert.are_equal(version[3], 3)
-      end),
-      test('can be iterated over', function ()
-        local version_list = {2, 7, 3}
-        local final_index = 0
-        for i, v in pairs(Version(version_list)) do
-          assert.are_equal(v, version_list[i])
-          final_index = i
-        end
-        assert.are_equal(final_index, 3)
-      end),
-      test('length is the number of components', function ()
-        assert.are_equal(#(Version '0'), 1)
-        assert.are_equal(#(Version '1.6'), 2)
-        assert.are_equal(#(Version '8.7.5'), 3)
-        assert.are_equal(#(Version '2.9.1.5'), 4)
-      end)
-    },
-
     group 'conversion to string' {
       test('converting from and to string is a noop', function ()
         local version_string = '1.19.4'
-- 
cgit v1.2.3