]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove '&'
authorAlan T. DeKok <aland@freeradius.org>
Thu, 12 Sep 2024 19:52:36 +0000 (15:52 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 12 Sep 2024 19:53:05 +0000 (15:53 -0400)
src/tests/keywords/foreach-tlv-children

index 44f8b27a044398d2d5c96b52c4a0c2473e6e8812..360ae942c5a545b696f08a2d277ff458e7838aab 100644 (file)
@@ -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
 }