From: Alan T. DeKok Date: Thu, 12 Sep 2024 19:52:36 +0000 (-0400) Subject: remove '&' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e289adef1e0b89bb44287d611b5a16f3bfc9d36a;p=thirdparty%2Ffreeradius-server.git remove '&' --- diff --git a/src/tests/keywords/foreach-tlv-children b/src/tests/keywords/foreach-tlv-children index 44f8b27a044..360ae942c5a 100644 --- a/src/tests/keywords/foreach-tlv-children +++ b/src/tests/keywords/foreach-tlv-children @@ -7,30 +7,30 @@ # string out -&my-tlv := { - &a = 1 - &b = 2 - &c = "foo" - &d = 127.0.0.1 +my-tlv := { + a = 1, + b = 2, + c = "foo", + d = 127.0.0.1, } -&out = "" +out = "" # # Home-brew concat! # -foreach string child (&my-tlv.[*]) { - &out += &child - &out += " " +foreach string child (my-tlv.[*]) { + out += child + out += " " } # # Sad trailing space, but we can delete it! # -&out -= ' ' +out -= ' ' -if (&out != '1 2 foo 127.0.0.1') { +if (out != '1 2 foo 127.0.0.1') { test_fail }