You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to test the basic Infix , see the bold error message below
Any method which takes a single parameter can be used as an infix operator: a.m(b) can also be written as a m b.
val g: Int = 3
(g + 4) should be(
g.+(4)
) // + is an infix operator
g.+(4) should be(
g + 4
) Evaluation failed : Compilation Error ; ERROR -> not found: value g at [308, 308, 308]
The text was updated successfully, but these errors were encountered:
I am unable to test the basic Infix , see the bold error message below
Any method which takes a single parameter can be used as an infix operator: a.m(b) can also be written as a m b.
val g: Int = 3
(g + 4) should be(
g.+(4)
) // + is an infix operator
g.+(4) should be(
g + 4
)
Evaluation failed : Compilation Error ; ERROR -> not found: value g at [308, 308, 308]
The text was updated successfully, but these errors were encountered: