Fix CPPopUpButtonTest.

This commit is contained in:
Alexander Ljungberg
2012-03-27 13:51:52 +01:00
parent 4acbfd5587
commit ff68ccdeab
+1 -1
View File
@@ -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)