aboutsummaryrefslogtreecommitdiffstats
path: root/Framework/MASShortcutTests.m
blob: 37a801f986b79300d2d0d1b03e57e7bcb87ac2a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#import "MASShortcut.h"

@interface MASShortcutTests : XCTestCase
@end

@implementation MASShortcutTests

- (void) testShortcutRecorderCompatibility
{
    MASShortcut *key = [MASShortcut shortcutWithKeyCode:87 modifierFlags:1048576];
    XCTAssertEqualObjects([key description], @"⌘5", @"Basic compatibility with the keycode & modifier combination used by Shortcut Recorder.");
}

@end