Fix typo in bound2 test which was breaking under LuaJIT

This commit is contained in:
mcc 2019-11-29 17:55:03 -05:00
parent 7fa1785469
commit 7667ea9a3d

View File

@ -38,7 +38,7 @@ describe("bound2:", function()
it("clones a bound2", function()
local a = bound2(vec2(1,2), vec2(4,5))
local b = a:clone()
a.max = new vec2(9,9)
a.max = vec2.new(9,9)
assert.is.equal(a.min, b.min)
assert.is.not_equal(a.max, b.max)
end)