Sync Node.js tests with upstream

This commit is contained in:
Jarred-Sumner
2025-05-30 00:28:30 +00:00
committed by github-actions[bot]
parent 0f6161af81
commit dcda307ecd

View File

@@ -1,12 +1,12 @@
// Flags: --allow_natives_syntax
'use strict';
// Flags: --allow-natives-syntax
const common = require('../common');
const assert = require('assert');
const http = require('http');
const server =
http.createServer(onrequest).listen(0, common.localhostIPv4, () => next(0));
http.createServer(onrequest).listen(0, common.localhostIPv4, () => next(0));
function onrequest(req, res) {
res.end('ok');