diff options
author | Gar <gar+gh@danger.computer> | 2022-07-13 19:30:16 +0300 |
---|---|---|
committer | Gar <wraithgar@github.com> | 2022-07-13 19:48:20 +0300 |
commit | 51cdee4892f95f9e42af917b04f5d4c2ab1b6f56 (patch) | |
tree | ef9c5129cba168ea1bee7e1aae91673caf289e5a /workspaces/arborist/test | |
parent | 2dfa8a483629bdd667071b7ac4b5a037612e7f62 (diff) |
chore: fix arborist tests for new run-script behaviour
Diffstat (limited to 'workspaces/arborist/test')
-rw-r--r-- | workspaces/arborist/test/arborist/rebuild.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/workspaces/arborist/test/arborist/rebuild.js b/workspaces/arborist/test/arborist/rebuild.js index cac811aac..ba31c5a20 100644 --- a/workspaces/arborist/test/arborist/rebuild.js +++ b/workspaces/arborist/test/arborist/rebuild.js @@ -189,7 +189,7 @@ t.test('verify dep flags in script environments', async t => { t.cleanSnapshot = (input) => { return input.replace(new RegExp(os.tmpdir().replace(/\\/g, '\\\\\\\\'), 'g'), '{TMP}') .replace(/\\\\/g, '/') - .replace(/(\d+)\.(?:sh|cmd)/g, '{TIMESTAMP}') + .replace(/-(.+)\.(?:sh|cmd)/g, '{HASH}') } t.matchSnapshot(saved, 'saved script results') |