]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use :=, to force the assignment
authorAlan T. DeKok <aland@freeradius.org>
Mon, 9 Jun 2025 19:44:56 +0000 (15:44 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 13 Jun 2025 10:57:21 +0000 (06:57 -0400)
src/tests/keywords/attr-index-eval

index d79f7076d7d574f65e2342d1c7463854cc2e93ad..4cf4b0d0ac73a5aab9d54a3ce6ab520fa6dd4e37 100644 (file)
@@ -19,9 +19,9 @@ if (foo != "b") {
        test_fail
 }
 
-ref = "1 + 2"
+ref := "1 + 2"
 
-foo = %eval(ref)
+foo := %eval(ref)
 
 if (foo != 3) {
        test_fail