]> source.dussan.org Git - gwtquery.git/commitdiff
use getArgument
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Fri, 15 Mar 2013 11:55:27 +0000 (12:55 +0100)
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Fri, 15 Mar 2013 11:55:27 +0000 (12:55 +0100)
gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTestGwt.java

index 6951f7519a5f567a5e346c413d9b9e94f8fb809e..768a376df4b88d75fc6d9bfd1d36f96395a79165 100644 (file)
@@ -953,7 +953,7 @@ public class GQueryEventsTestGwt extends GWTTestCase {
       public void f(Element elem) {
         $(elem).css(CSS.FONT_SIZE.with(Length.px(24)));
 
-        assertEquals("red", getArguments()[0]);
+        assertEquals("red", getArgument(0));
       }
     });
     $("p", e, Events.Events).trigger(Event.ONCLICK);