From a995d20d3bb4657a7a6c5ef7d6d7130e5ff8e17e Mon Sep 17 00:00:00 2001 From: michael starke Date: Thu, 11 Dec 2014 13:54:44 +0100 Subject: [PATCH] Custom refernce now can include spaces and numbers and will be expanded correctly --- KeePassKit | 2 +- MacPassTests/KPKTestAutotype.m | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/KeePassKit b/KeePassKit index 8ab4d26a..e6c98f19 160000 --- a/KeePassKit +++ b/KeePassKit @@ -1 +1 @@ -Subproject commit 8ab4d26a4db7b3cbc5ebfbd70d08e7ee2c34aa49 +Subproject commit e6c98f1912f71d0d7681b6938e22fdb9918aa433 diff --git a/MacPassTests/KPKTestAutotype.m b/MacPassTests/KPKTestAutotype.m index 4f4633af..579a1313 100644 --- a/MacPassTests/KPKTestAutotype.m +++ b/MacPassTests/KPKTestAutotype.m @@ -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); }