From a25974181587de7741822994c3996a9bbf7d0061 Mon Sep 17 00:00:00 2001 From: Dale Ragan Date: Wed, 16 Jun 2010 00:46:07 -0400 Subject: [PATCH] All tests pass now. The bug that I found in the Mono VB compiler has 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 --- Tests/FeatureTests/ExternalSteps/ExternalStepsVB/VBSteps.vb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/FeatureTests/ExternalSteps/ExternalStepsVB/VBSteps.vb b/Tests/FeatureTests/ExternalSteps/ExternalStepsVB/VBSteps.vb index ee30ea4dc..1a5d4a2f8 100644 --- a/Tests/FeatureTests/ExternalSteps/ExternalStepsVB/VBSteps.vb +++ b/Tests/FeatureTests/ExternalSteps/ExternalStepsVB/VBSteps.vb @@ -5,12 +5,12 @@ Public Class VBStepDefinitions _ 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