Skip to content

Commit

Permalink
status should be lower case (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
remogloor authored Nov 28, 2022
1 parent d541ee5 commit 76a3f76
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Scenario: A simple feature
"line": 8,
"hidden": false,
"result": {
"status": "Undefined",
"status": "undefined",
"duration": 1
}
},
Expand All @@ -59,7 +59,7 @@ Scenario: A simple feature
"line": 9,
"hidden": false,
"result": {
"status": "Undefined",
"status": "undefined",
"duration": 1
}
},
Expand All @@ -69,7 +69,7 @@ Scenario: A simple feature
"line": 10,
"hidden": false,
"result": {
"status": "Undefined",
"status": "undefined",
"duration": 1
}
},
Expand All @@ -79,7 +79,7 @@ Scenario: A simple feature
"line": 11,
"hidden": false,
"result": {
"status": "Undefined",
"status": "undefined",
"duration": 1
}
}
Expand Down Expand Up @@ -149,7 +149,7 @@ Scenario: A feature with a table
"line": 8,
"hidden": false,
"result": {
"status": "Undefined",
"status": "undefined",
"duration": 1
}
},
Expand All @@ -159,7 +159,7 @@ Scenario: A feature with a table
"line": 32,
"hidden": false,
"result": {
"status": "Undefined",
"status": "undefined",
"duration": 1
}
},
Expand All @@ -169,7 +169,7 @@ Scenario: A feature with a table
"line": 33,
"hidden": false,
"result": {
"status": "Undefined",
"status": "undefined",
"duration": 1
}
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private static string DetermineStatus(IFeatureElement fe)
throw new ArgumentOutOfRangeException("Unknown test result "+testResult);
}

return Enum.GetName(typeof(CucumberTestResults),cucumberTestResult);
return Enum.GetName(typeof(CucumberTestResults),cucumberTestResult).ToLowerInvariant();
}

private void CreateFile(string outputFolderName, string jsonToWrite)
Expand Down

0 comments on commit 76a3f76

Please sign in to comment.