From e77abf842d6beda4dab7d6e4718e372df4eb9410 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 4 Apr 2023 14:33:43 +0200 Subject: Make error messages a bit more consistent --- tests/typ/compute/calc.typ | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/typ/compute/calc.typ b/tests/typ/compute/calc.typ index b7c6df02..31c5c967 100644 --- a/tests/typ/compute/calc.typ +++ b/tests/typ/compute/calc.typ @@ -90,11 +90,11 @@ #calc.pow(2, 10000000000000000) --- -// Error: 14-36 exponent may not be NaN, infinite, or subnormal +// Error: 14-36 exponent may not be infinite, subnormal, or NaN #calc.pow(2, calc.pow(2.0, 10000.0)) --- -// Error: 15-18 the return value is not a real number +// Error: 15-18 the result is not a real number #calc.pow(-1, 0.5) --- @@ -102,15 +102,15 @@ #calc.sqrt(-1) --- -// Error: 11-13 a logarithm parameter must be strictly positive +// Error: 11-13 value must be strictly positive #calc.log(-1) --- -// Error: 11-12 a logarithm base should be normal (not NaN, not infinite, non-null, not subnormal) +// Error: 11-12 base may not be zero, NaN, infinite, or subnormal #calc.log(1, base: 0) --- -// Error: 11-13 this logarithm doesn't return a real value +// Error: 11-13 the result is not a real number #calc.log(10, base: -1) --- -- cgit v1.2.3