mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 04:42:29 +00:00
Custom refernce now can include spaces and numbers and will be expanded correctly
This commit is contained in:
@@ -120,8 +120,8 @@
|
||||
NSArray *commands = [MPAutotypeCommand commandsForContext:context];
|
||||
XCTAssertEqual(commands.count, 1);
|
||||
MPAutotypePaste *paste = commands[0];
|
||||
NSString *result = [[NSString alloc] initWithFormat:@"%@%@", numberAttribute.value, self.entry.username];
|
||||
XCTAssertEqual(paste.pasteData, result);
|
||||
NSString *result = [[NSString alloc] initWithFormat:@"%@%@%@%@", numberAttribute.value, self.entry.username, self.entry.username, self.entry.username];
|
||||
XCTAssertEqualObjects(paste.pasteData, result);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user