aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/varmod-order-numeric.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/varmod-order-numeric.mk')
-rw-r--r--unit-tests/varmod-order-numeric.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/unit-tests/varmod-order-numeric.mk b/unit-tests/varmod-order-numeric.mk
index 70b2f2834370..542894c53942 100644
--- a/unit-tests/varmod-order-numeric.mk
+++ b/unit-tests/varmod-order-numeric.mk
@@ -1,4 +1,4 @@
-# $NetBSD: varmod-order-numeric.mk,v 1.6 2022/02/04 23:43:10 rillig Exp $
+# $NetBSD: varmod-order-numeric.mk,v 1.7 2022/02/09 21:09:24 rillig Exp $
#
# Tests for the variable modifiers ':On', which returns the words, sorted in
# ascending numeric order, and for ':Orn' and ':Onr', which additionally
@@ -32,7 +32,7 @@ NUMBERS= 3 5 7 1 42 -42 5K -3m 1M 1k -2G
# Duplicate numbers are preserved in the output. In this case the
# equal-valued numbers are spelled the same, so they are indistinguishable in
# the output.
-DUPLICATES= 3 1 2 2 1 1 # https://oeis.org/A034002
+DUPLICATES= 3 1 2 2 1 1 # subsequence of https://oeis.org/A034002
.if ${DUPLICATES:On} != "1 1 1 2 2 3"
. error ${DUPLICATES:On}
.endif
@@ -44,7 +44,7 @@ SAME_VALUE:= ${:U 79 80 0x0050 81 :On}
. error ${SAME_VALUE}
.endif
-# Hexadecimal and octal numbers are supported as well.
+# Hexadecimal and octal numbers can be sorted as well.
MIXED_BASE= 0 010 0x7 9
.if ${MIXED_BASE:On} != "0 0x7 010 9"
. error ${MIXED_BASE:On}