Skip to content

Commit

Permalink
All tests pass now. The bug that I found in the Mono VB compiler has …
Browse files Browse the repository at this point in the history
…been fixed by the Mono VB team, but it will not be backported due to some major changes. Since we will target Mono 2.6.5, we have to use a work around. The next major version of Mono will include the bug fix. Here's a link to the discussion: http://mono.1490590.n4.nabble.com/Using-reflection-to-invoke-a-method-written-in-VB-throws-an-exception-tp2236684p2252498.html
  • Loading branch information
dragan committed Jun 16, 2010
1 parent 46ceb1b commit a259741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/FeatureTests/ExternalSteps/ExternalStepsVB/VBSteps.vb
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ Public Class VBStepDefinitions

<Given("I have external step definitions in a separate assembly referenced by this project")> _
Public Sub step1()
ScenarioContext.Current.Item("counter") = 1
ScenarioContext.Current("counter") = 1
End Sub

<[When]("I call those steps")> _
Public Sub step2()
ScenarioContext.Current.Item("counter") += 1
ScenarioContext.Current("counter") += 1
End Sub

End Class

0 comments on commit a259741

Please sign in to comment.