From 506ae8cae1f0ead74af1edc449928978079e5f08 Mon Sep 17 00:00:00 2001 From: Gaspar Nagy Date: Mon, 30 May 2022 17:23:15 +0200 Subject: [PATCH] fix tests --- .../BaseDiscovererTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Connector/SpecFlow.VisualStudio.SpecFlowConnector.V1.Tests/BaseDiscovererTests.cs b/Tests/Connector/SpecFlow.VisualStudio.SpecFlowConnector.V1.Tests/BaseDiscovererTests.cs index e9e9c03e..8c7c87a2 100644 --- a/Tests/Connector/SpecFlow.VisualStudio.SpecFlowConnector.V1.Tests/BaseDiscovererTests.cs +++ b/Tests/Connector/SpecFlow.VisualStudio.SpecFlowConnector.V1.Tests/BaseDiscovererTests.cs @@ -43,7 +43,7 @@ private void RegisterStepDefinitionBindingWithSourceAndError(string regex = "I p new StepDefinitionBindingWithSourceAndError(type, regex, new RuntimeBindingMethod(methodInfo), scope) { SourceExpression = sourceExpression, - Error = error + ErrorMessage = error }); } @@ -413,6 +413,6 @@ public StepDefinitionBindingWithSourceAndError(StepDefinitionType stepDefinition } public string SourceExpression { get; set; } - public string Error { get; set; } + public string ErrorMessage { get; set; } } }