Skip to content

Commit

Permalink
test-fitsinto: use evaulator.fitsinto
Browse files Browse the repository at this point in the history
  • Loading branch information
LunNova committed Dec 9, 2023
1 parent 6de9baa commit d1740fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-fitsinto.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local evaluator = require "./evaluator"

local value = terms.value
local typed = terms.typed_term
local fitsinto = require "./fitsinto".fitsinto
local fitsinto = evaluator.fitsinto

local qty = function(q, ty)
return value.qtype(value.quantity(q), ty)
Expand Down Expand Up @@ -217,6 +217,6 @@ local passed, failed, total = (require "tap")(function(test)
)
)
)
assert(fitsinto(decl_a, decl_b))
assert(fitsinto(unrestrict(decl_a), unrestrict(decl_b)))
end)
end)

0 comments on commit d1740fa

Please sign in to comment.