Skip to content

Commit 5003247

Browse files
committed
compare only the content and not the white-spaces
1 parent c1cf976 commit 5003247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/codegen/newman/newmanTestUtil.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function runSnippet (testConfig, snippets, collectionName) {
150150
});
151151
}
152152
}
153-
expect(result[0]).deep.equal(result[1]);
153+
expect(result[0].toString().trim()).deep.equal(result[1].toString().trim());
154154
return done(null);
155155
});
156156
});

0 commit comments

Comments
 (0)