aboutsummaryrefslogtreecommitdiff
path: root/lib/core
diff options
context:
space:
mode:
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/errors.nom4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/core/errors.nom b/lib/core/errors.nom
index 20751fa..d77717d 100644
--- a/lib/core/errors.nom
+++ b/lib/core/errors.nom
@@ -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
-") \ No newline at end of file
+")