mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 00:02:28 +00:00
used specialized asserts in test cases
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
MPAutotypeContext *context = [[MPAutotypeContext alloc] initWithEntry:self.entry andSequence:@"{DELAY 200}"];
|
||||
NSArray *commands = [MPAutotypeCommand commandsForContext:context];
|
||||
|
||||
XCTAssertTrue(commands.count == 1);
|
||||
XCTAssertEqual(commands.count, 1);
|
||||
/* {DELAY 200} */
|
||||
XCTAssertTrue([commands.firstObject isKindOfClass:[MPAutotypeDelay class]], @"Command is Delay command");
|
||||
MPAutotypeDelay *delay = commands.firstObject;
|
||||
|
||||
Reference in New Issue
Block a user