mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 12:52:21 +00:00
Fixed issue resutling in singel hotkey combination not being properly processed
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <XCTest/XCTest.h>
|
||||
|
||||
#import "KPKXmlUtilities.h"
|
||||
#import "NSString+XMLUtilities.h"
|
||||
|
||||
@interface KPKTextXMLUtilities : XCTestCase
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
}
|
||||
|
||||
- (void)testExample {
|
||||
NSString *safe = stripUnsafeCharacterForXMLFromString(@"*EORDIE\x10\x16\x12\x10");
|
||||
XCTAssertEqualObjects(@"*EORDIE", safe);
|
||||
NSString *unsave = @"*EORDIE\x10\x16\x12\x10";
|
||||
XCTAssertEqualObjects(@"*EORDIE", unsave.XMLCompatibleString);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user