From a33f4e0834dc27f5048a7050772bb2285b7a76a4 Mon Sep 17 00:00:00 2001 From: iska Date: Sun, 29 Nov 2015 03:29:01 +0100 Subject: [PATCH] Use nodes tree description in HTML Parser tests --- HTMLKitTests/HTMLKitTreeConstructionTests.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HTMLKitTests/HTMLKitTreeConstructionTests.m b/HTMLKitTests/HTMLKitTreeConstructionTests.m index ca1f223..d8de4be 100644 --- a/HTMLKitTests/HTMLKitTreeConstructionTests.m +++ b/HTMLKitTests/HTMLKitTreeConstructionTests.m @@ -96,8 +96,8 @@ actual = [parser parseFragmentWithContextElement:contextElement]; } - NSString *expectedNodes = [[test.nodes valueForKey:@"debugDescription"] componentsJoinedByString:@"\n"]; - NSString *actualNodes = [[parser.document.childNodes.array valueForKey:@"debugDescription"] componentsJoinedByString:@"\n"]; + NSString *expectedNodes = [[test.nodes valueForKey:@"treeDescription"] componentsJoinedByString:@"\n"]; + NSString *actualNodes = [[actual valueForKey:@"treeDescription"] componentsJoinedByString:@"\n"]; NSString *message = [NSString stringWithFormat:@"HTML5Lib test in file: \'%@\'\nInput:\n%@\nExpected:\n%@\nActual:\n%@\n", test.testFile,