Skip to content

Commit aa37501

Browse files
committed
xml helper undef attribute
1 parent e4a7a02 commit aa37501

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/unit/GPH/XMLHelper.t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ describe 'test element' => sub {
5454
name => 'foo',
5555
value => 'bar',
5656
attributes => {
57-
'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance'
57+
'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance',
58+
'foo' => undef
5859
}
5960
);
6061
$expected_xml = '<foo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">bar</foo>';

0 commit comments

Comments
 (0)