Did you by any chance place that statement in an asserting Spock block? By
asserting I mean `then` or `expect`.

On Wed, 1 Nov 2017 at 08:57, Rahman Mahbub <[email protected]> wrote:

> JFYI,
> departureFrom.selected = "NRT" <-- gives error in Eclipse:
> Groovy:Expected a condition, but found an assignment. Did you intend to
> write '==' ? @ line 126, column 4.
>
>
> On Wednesday, November 1, 2017 at 5:53:18 PM UTC+9, Rahman Mahbub wrote:
>>
>> Today I was trying to use Select form control module like as documented
>> in here <http://www.gebish.org/manual/current/#code-select-code>
>>
>> def departureFrom = $(name:"dep").module(Select)
>> departureFrom.selected = "NRT"
>>
>> which is not working. Modifed code like below and it works fine:
>>
>> def departureFrom = $(name:"dep").module(Select)
>> departureFrom.setSelected("NRT")
>>
>> Should it be raised as an issue?
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Geb User Mailing List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/geb-user/0a6eba42-df87-465d-8b80-63d29598417b%40googlegroups.com
> <https://groups.google.com/d/msgid/geb-user/0a6eba42-df87-465d-8b80-63d29598417b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/CA%2B52dQSocg7yUoqFqmFJ2fLQSzr64%2BrciC4pu44c1ivp6-oeOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to