From ff68ccdeab106db00104b8e6717ca8ff46be540d Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Tue, 27 Mar 2012 13:51:52 +0100 Subject: [PATCH] Fix CPPopUpButtonTest. --- Tests/AppKit/CPPopUpButtonTest.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/AppKit/CPPopUpButtonTest.j b/Tests/AppKit/CPPopUpButtonTest.j index 1a970ac78..e2c9ebc62 100644 --- a/Tests/AppKit/CPPopUpButtonTest.j +++ b/Tests/AppKit/CPPopUpButtonTest.j @@ -178,7 +178,7 @@ withKeyPath:@"weight" options:nil]; - [self assert:20 equals:[button selectedTag]]; + [self assert:20 equals:[[button selectedItem] tag]]; [button selectItemAtIndex:1]; // simulate selection by the user (this fails because we don't reverse set the value)