From 7b72cee2af2167452339a135a480180034e379e5 Mon Sep 17 00:00:00 2001 From: Bruno Borges Date: Thu, 9 Jul 2026 21:11:19 -0400 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- __tests__/cache.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/__tests__/cache.test.ts b/__tests__/cache.test.ts index f3feba42..f9a91a9e 100644 --- a/__tests__/cache.test.ts +++ b/__tests__/cache.test.ts @@ -230,11 +230,9 @@ describe('dependency cache', () => { [join(os.homedir(), '.m2', 'repository')], expect.any(String) ); - // Wrapper distribution is restored on its own, keyed only on the - // wrapper properties file. expect(spyCacheRestore).toHaveBeenCalledWith( [join(os.homedir(), '.m2', 'wrapper', 'dists')], - expect.stringContaining('setup-java-') + expect.stringContaining('maven-wrapper') ); expect(spyGlobHashFiles).toHaveBeenCalledWith( '**/.mvn/wrapper/maven-wrapper.properties'