mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-13 21:42:32 +00:00
Fixed crash on 10.8 and 10.9 caused by MPToolbarButton
Signed-off-by: michael starke <michael.starke@hicknhack-software.com>
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
|
||||
@implementation KPKTestAutotype
|
||||
|
||||
- (void)testCommandValidation {
|
||||
XCTAssertFalse([@"" validateCommmand], @"Emptry strings aren't valid commands");
|
||||
}
|
||||
|
||||
- (void)testSimpleNormalization {
|
||||
NSString *normalized = [@"Whoo %{%}{^}{SHIFT}+ {SPACE}{ENTER}^V%V~T" normalizedAutotypeSequence];
|
||||
XCTAssertTrue([normalized isEqualToString:@"Whoo{SPACE}{ALT}{%}{^}{SHIFT}{SHIFT}{SPACE}{SPACE}{ENTER}{CONTROL}V{ALT}V{ENTER}T"]);
|
||||
|
||||
Reference in New Issue
Block a user