From a22051715d65af6e747354bafbea8f955916ad80 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Wed, 29 Jun 2022 09:45:51 +0200 Subject: [PATCH] Tests: Add less parser nested variables test cases --- .../library/Icinga/Util/LessParserTest.php | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/test/php/library/Icinga/Util/LessParserTest.php b/test/php/library/Icinga/Util/LessParserTest.php index e32e32056..fe09bb8d5 100644 --- a/test/php/library/Icinga/Util/LessParserTest.php +++ b/test/php/library/Icinga/Util/LessParserTest.php @@ -60,6 +60,59 @@ LESS ); } + public function testNestedVariables() + { + $this->assertEquals( + <<compileLess(<<assertEquals( + <<compileLess(<<assertEquals(