6 Sep 10:06
[groovy-user] =~ and Assert.assertTrue -> invokeStaticMissingMethod
From: kiml <jiri.kiml@...>
Subject: [groovy-user] =~ and Assert.assertTrue -> invokeStaticMissingMethod
Newsgroups: gmane.comp.lang.groovy.user
Date: 2008-09-06 08:09:12 GMT
Subject: [groovy-user] =~ and Assert.assertTrue -> invokeStaticMissingMethod
Newsgroups: gmane.comp.lang.groovy.user
Date: 2008-09-06 08:09:12 GMT
Hello,
I am beginner to groovy. I did some experiments with =~
I have problem with following code:
// runs well without problems
assert '12345' =~ /\d+/
boolean Fb_val = '12345' =~ /\d+/
Assert.assertTrue(Fb_val)
// throws MissingMethodException
Assert.assertTrue('12345' =~ /\d+/)
What is wrong ?
Greetings, Jiri
--
--
View this message in context: http://www.nabble.com/%3D%7E-and-Assert.assertTrue--%3E-invokeStaticMissingMethod-tp19344086p19344086.html
Sent from the groovy - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
RSS Feed