From 4afa6d11e17408f8a1313875a8b079af541c6d48 Mon Sep 17 00:00:00 2001 From: iska Date: Thu, 19 Feb 2015 22:26:10 +0100 Subject: [PATCH] Change HTML test's description property to "title" --- HTMLKitTests/HTML5LibTest.h | 2 +- HTMLKitTests/HTML5LibTest.m | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HTMLKitTests/HTML5LibTest.h b/HTMLKitTests/HTML5LibTest.h index 3e97684..b8180bc 100644 --- a/HTMLKitTests/HTML5LibTest.h +++ b/HTMLKitTests/HTML5LibTest.h @@ -10,7 +10,7 @@ @interface HTML5LibTest : NSObject -@property (nonatomic, strong) NSString *description; +@property (nonatomic, strong) NSString *title; @property (nonatomic, strong) NSString *input; @property (nonatomic, strong) NSArray *output; @property (nonatomic, strong) NSArray *initialStates; diff --git a/HTMLKitTests/HTML5LibTest.m b/HTMLKitTests/HTML5LibTest.m index be45672..2e6eff1 100644 --- a/HTMLKitTests/HTML5LibTest.m +++ b/HTMLKitTests/HTML5LibTest.m @@ -12,6 +12,7 @@ @implementation HTML5LibTest + - (instancetype)initWithTestDictionary:(NSDictionary *)dictionary { self = [super init]; @@ -25,8 +26,8 @@ { BOOL doubleEscaped = [test[@"doubleEscaped"] boolValue]; - // Test Description - self.description = test[@"description"]; + // Test Title + self.title = test[@"description"]; // Test Input self.input = test[@"input"];