Skip to content

Commit 662a636

Browse files
committed
Fix compile
1 parent 79b09fe commit 662a636

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dotnet/Gherkin/GherkinLine.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ private IEnumerable<Tuple<string, int>> SplitCells(string row)
125125
cell = "";
126126
startPos = pos;
127127
} else if (c == GherkinLanguageConstants.TABLE_CELL_ESCAPE_CHAR) {
128-
bool hasNext = rowEnum.MoveNext();
129-
if(hasNext) {
128+
if(rowEnum.MoveNext()) {
130129
pos++;
131130
c = rowEnum.Current;
132131
if (c == GherkinLanguageConstants.TABLE_CELL_NEWLINE_ESCAPE) {

0 commit comments

Comments
 (0)