1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge branch 'node-red:master' into master-fixpermission

This commit is contained in:
Kazuhito Yokoi 2022-10-29 23:51:05 +09:00 committed by GitHub
commit 8b398f49c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2322,7 +2322,7 @@ describe('HTTP Request Node', function() {
var n2 = helper.getNode("n2"); var n2 = helper.getNode("n2");
n2.on('input', function(msg) { n2.on('input', function(msg) {
try{ try{
msg.payload.should.equal(`RequestError: Parse Error: Missing expected CR after header value : http://localhost:${port}/`) msg.payload.should.match(/RequestError: Parse Error/)
done() done()
} catch (err) { } catch (err) {
done(err) done(err)