Skip to content

Commit cc772fc

Browse files
kostya-misurajbpros
authored andcommitted
Fix tests to run on Windows (close #216)
1 parent 40fe590 commit cc772fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/step_definitions/legacy/cucumber_steps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ var stepDefinitions = function() {
229229
};
230230

231231
function _normalizeString(string) {
232-
return string.replace(/\s+$/, '').replace(/\n\n/g, "\n");
232+
return string.replace(/\s+$/, '').replace(/\r\n/g, "\n").replace(/\n\n/g, "\n");
233233
};
234234

235235
function printInsideFeatureError(error) {

0 commit comments

Comments
 (0)