• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2require('../common');
3Error.stackTraceLimit = 3;
4
5const punycode = require('punycode');
6
7// This test verifies that line numbers in core modules are reported correctly.
8// The punycode module was chosen for testing because it changes infrequently.
9// If this test begins failing, it is likely due to a punycode update, and the
10// test's assertions simply need to be updated to reflect the changes. If a
11// punycode update was not made, and this test begins failing, then line numbers
12// are probably actually broken.
13punycode.decode('x');
14