From 171b2db187b4be85ed1242c9f456f847ae2b1177 Mon Sep 17 00:00:00 2001 From: Carl Gay Date: Tue, 6 Feb 2024 22:02:00 +0000 Subject: [PATCH] collections: "expect" var conflicts with expect macro The "expect" macro is new in Testworks and conflicts with this one local variable name. --- sources/collections/tests/bit-set-tests.dylan | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sources/collections/tests/bit-set-tests.dylan b/sources/collections/tests/bit-set-tests.dylan index a113e0c58b..7dfdb33cdd 100644 --- a/sources/collections/tests/bit-set-tests.dylan +++ b/sources/collections/tests/bit-set-tests.dylan @@ -759,13 +759,13 @@ define test bit-set-iteration () check-equal("Forward iteration over a finite set", result, #t); let result = #t; - let expect = 100; + let want = 100; for (count from 0, i in *infinite-set*, while: i < 120) if (count < size(*infinite-members*)) result := result & (i = *infinite-members*[count]); else - result := result & (i = expect); - expect := expect + 1; + result := result & (i = want); + want := want + 1; end if; end for; check-equal("Forward iteration over an infinite set", result, #t);