1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: sungta <tadinhsung@gmail.com>
Date: Mon, 23 Oct 2017 14:06:36 +0700
Subject: [7/8] Update ufa.t
Origin: https://github.com/shlomif/perl-XML-LibXML/commit/a9d12057647c1df50b42dca1bc35df657354f3f6
Bug-Debian: https://bugs.debian.org/866676
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2017-10672
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=122246
---
t/ufa.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/ufa.t b/t/ufa.t
index 753419e..26764f3 100644
--- a/t/ufa.t
+++ b/t/ufa.t
@@ -7,5 +7,5 @@ my $parser = XML::LibXML->new();
my $info = $parser->load_xml(string=>$data) or die;
my $root = $info->findnodes("mipu94")->[0];
my $ufanode = $root->findnodes("pwn4fun/ufanode")->[0];
-ok(!$root->replaceChild($ufanode,$ufanode),"Test UFA in replaceChild");
+ok($root->replaceChild($ufanode,$ufanode),"Test UFA in replaceChild");
done_testing();
--
2.15.0.rc2
|