From 5899d160444ccbd62f7be976fb61f11be79037d0 Mon Sep 17 00:00:00 2001 From: Kevin Cui Date: Thu, 28 Mar 2024 19:14:26 +0800 Subject: [PATCH] fix test --- test/filesystem-spec.js | 2 +- .../private/var/app/symbol/{real.txt => link.txt} | 0 test/input/srcpath-include-symlink/var | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename test/input/srcpath-include-symlink/private/var/app/symbol/{real.txt => link.txt} (100%) diff --git a/test/filesystem-spec.js b/test/filesystem-spec.js index 316e6b51..46da34a2 100644 --- a/test/filesystem-spec.js +++ b/test/filesystem-spec.js @@ -10,7 +10,7 @@ describe('filesystem', function () { const src = path.join(__dirname, 'input', 'srcpath-include-symlink', 'var', 'app') const filesystem = new Filesystem(src) assert.doesNotThrow(() => { - filesystem.insertLink(path.join(src, 'symbol', 'real.txt')) + filesystem.insertLink(path.join(src, 'symbol', 'link.txt')) }) }) }) diff --git a/test/input/srcpath-include-symlink/private/var/app/symbol/real.txt b/test/input/srcpath-include-symlink/private/var/app/symbol/link.txt similarity index 100% rename from test/input/srcpath-include-symlink/private/var/app/symbol/real.txt rename to test/input/srcpath-include-symlink/private/var/app/symbol/link.txt diff --git a/test/input/srcpath-include-symlink/var b/test/input/srcpath-include-symlink/var index 3ec7299f..e56f2f26 120000 --- a/test/input/srcpath-include-symlink/var +++ b/test/input/srcpath-include-symlink/var @@ -1 +1 @@ -private/var \ No newline at end of file +./private/var \ No newline at end of file