Skip to content

test proposal #13

@sonoro1234

Description

@sonoro1234
assert((function()local t = {}
return reflect.getmetatable(ffi.metatype("struct {}", t)) == t end)())

makes the program to exit without assert. (now corrected at PR #12)
I would comment this test which is always silently failing or perhaps:

local oldassert = assert
local assert = function(a,b)
	local source = debug.getinfo(2,'Sl')
	print(a,source.currentline,b)
	oldassert(a)--,"error in test")
end

in order to see test progress

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions