From: Alan T. DeKok Date: Mon, 2 Sep 2024 14:03:15 +0000 (-0400) Subject: don't mash RHS to one string return the set X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9002ac7988873ed4535ab6bb5ab488ed00ad45da;p=thirdparty%2Ffreeradius-server.git don't mash RHS to one string return the set --- diff --git a/src/tests/keywords/concat b/src/tests/keywords/concat index b454a73b9d..1be67c9be3 100644 --- a/src/tests/keywords/concat +++ b/src/tests/keywords/concat @@ -30,10 +30,10 @@ if !(&result_string == "456789") { # # &ref could return a list. -# (string) &ref casts each value to a string -# and returns a list of strings # -&Called-Station-Id := %{(string) &control.NAS-Port[*]} +# Which we then cast individually to the LHS +# +&Called-Station-Id := &control.NAS-Port[*] if !(&Called-Station-Id[0] == "456") { test_fail }