We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a48ffdf commit 09f4a1cCopy full SHA for 09f4a1c
test/php/library/Director/IcingaConfig/AssignRendererTest.php
@@ -87,6 +87,18 @@ public function testInArrayIsRenderedCorrectly()
87
);
88
}
89
90
+ public function testWhetherSlashesAreNotEscaped()
91
+ {
92
+ $string = 'host.name=' . json_encode('a/b');
93
+
94
+ $expected = 'assign where host.name == "a/b"';
95
96
+ $this->assertEquals(
97
+ $expected,
98
+ $this->renderer($string)->renderAssign()
99
+ );
100
+ }
101
102
protected function renderer($string)
103
{
104
return AssignRenderer::forFilter(Filter::fromQueryString($string));
0 commit comments