summaryrefslogtreecommitdiff
path: root/test/message/core_line_numbers.js
blob: 221001ed8952d09afd55770db32bf2fcf8004b93 (plain)
1
2
3
4
5
6
7
8
9
10
11
'use strict';
require('../common');
const punycode = require('punycode');

// This test verifies that line numbers in core modules are reported correctly.
// The punycode module was chosen for testing because it changes infrequently.
// If this test begins failing, it is likely due to a punycode update, and the
// test's assertions simply need to be updated to reflect the changes. If a
// punycode update was not made, and this test begins failing, then line numbers
// are probably actually broken.
punycode.decode('x');