Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
longbai committed Jul 2, 2015
1 parent bfe5b43 commit 54fe60f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion HappyDNSTests/HostsTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ - (void)testQuery {
NSArray *r1 = [hosts query:[[QNDomain alloc] init:@"hello.qiniu.com"] networkInfo:info];
NSArray *r2 = [hosts query:[[QNDomain alloc] init:@"hello.qiniu.com"] networkInfo:info];
NSArray *r3 = [hosts query:[[QNDomain alloc] init:@"hello.qiniu.com"] networkInfo:info];
XCTAssertTrue(!([r1 isEqualToArray:r2] && [r1 isEqualToArray:r3]), @"PASS");
NSArray *r4 = [hosts query:[[QNDomain alloc] init:@"hello.qiniu.com"] networkInfo:info];
XCTAssertTrue(!([r1 isEqualToArray:r2] && [r1 isEqualToArray:r3] && [r1 isEqualToArray:r4]), @"PASS");
}

- (void)testCnc {
Expand Down

0 comments on commit 54fe60f

Please sign in to comment.