11cb0ef41Sopenharmony_ci// Flags: --no-deprecation 21cb0ef41Sopenharmony_ci'use strict'; 31cb0ef41Sopenharmony_cirequire('../common'); 41cb0ef41Sopenharmony_ciconst fixtures = require('../common/fixtures'); 51cb0ef41Sopenharmony_ciconst assert = require('assert'); 61cb0ef41Sopenharmony_ciconst path = require('path'); 71cb0ef41Sopenharmony_ci 81cb0ef41Sopenharmony_ciconst dir = fixtures.path('GH-7131'); 91cb0ef41Sopenharmony_ciconst b = require(path.join(dir, 'b')); 101cb0ef41Sopenharmony_ciconst a = require(path.join(dir, 'a')); 111cb0ef41Sopenharmony_ci 121cb0ef41Sopenharmony_ciassert.strictEqual(a.length, 1); 131cb0ef41Sopenharmony_ciassert.strictEqual(b.length, 0); 141cb0ef41Sopenharmony_ciassert.deepStrictEqual(a[0].exports, b); 15