Skip to content

Commit f9e4b3d

Browse files
Dotnet small fixes (#123)
* .NET: fix word parameter name * Update changelog Co-authored-by: Aslak Hellesøy <[email protected]>
1 parent 16b5000 commit f9e4b3d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
9+
### Fixed
10+
- [.NET] Fix casing in "word" parameter type constant
911

1012
## [15.1.1] - 2022-04-21
1113
### Fixed

dotnet/CucumberExpressions/ParameterTypeConstants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static class ParameterTypeConstants
2727
public static readonly string FloatParameterRegexEn = GetFloatParameterRegex(CultureInfo.InvariantCulture);
2828
public static readonly string[] FloatParameterRegexpsEn = { FloatParameterRegexEn };
2929

30-
public const string WordParameterName = "Word";
30+
public const string WordParameterName = "word";
3131
public const string WordParameterRegex = "[^\\s]+";
3232
public static readonly string[] WordParameterRegexps = { WordParameterRegex };
3333

0 commit comments

Comments
 (0)