Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Dec 28, 2024
1 parent 66c2f1c commit c174b5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/loader/get_load_units.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ describe('test/loader/get_load_units.test.ts', () => {
assert.equal(units.length, 12);
assert.equal(units[10].type, 'framework');
if (process.platform === 'win32') {
assert.equal(units[10].path, getFilepath('egg-esm').toLowerCase());
assert.equal(units[10].path.toLowerCase(), getFilepath('egg-esm'));
} else {
assert.equal(units[10].path, getFilepath('egg-esm'));
}
assert.equal(units[11].type, 'app');
if (process.platform === 'win32') {
assert.equal(units[11].path, getFilepath('plugin').toLowerCase());
assert.equal(units[11].path.toLowerCase(), getFilepath('plugin'));
} else {
assert.equal(units[11].path, getFilepath('plugin'));
}
Expand Down

0 comments on commit c174b5f

Please sign in to comment.