Fix for (assume ($x > $y)) bug
This commit is contained in:
parent
24f347fd0c
commit
6ba2b8b36d
@ -52,7 +52,7 @@ use "core/control_flow"
|
||||
_b = type_of(_b) == 'Text' and _b:as_lua() or _1_as_text(_b)
|
||||
at_1_fail(\(quote "\($condition.1.source)"),
|
||||
"Assumption failed: This value was ".._a..", but it was expected to be \
|
||||
..\($condition.3)".._b..".")
|
||||
..\($condition.2)".._b..".")
|
||||
end
|
||||
end
|
||||
")
|
||||
@ -180,4 +180,4 @@ test:
|
||||
if not _results[1] then error(_results[2], 0) end
|
||||
if not _fell_through then return table.unpack(_results, 2) end
|
||||
end
|
||||
")
|
||||
")
|
||||
|
Loading…
Reference in New Issue
Block a user