Skip to content

Commit 1d1bd12

Browse files
committed
update regex
1 parent ecb809c commit 1d1bd12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-socket-address.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ server.listen(0, common.mustCall(function() {
1212
return -1;
1313
};
1414
assert.throws(() => this.address(),
15-
/^Error: address (\w+)$/);
15+
/^Error: address ([\w|\s-\d])+$/);
1616
server.close();
1717
}));

0 commit comments

Comments
 (0)