diff --git a/rush-plugins/rush-http-build-cache-plugin/src/HttpBuildCacheProvider.test.ts b/rush-plugins/rush-http-build-cache-plugin/src/HttpBuildCacheProvider.test.ts index d409f623170..e5ec316a00a 100644 --- a/rush-plugins/rush-http-build-cache-plugin/src/HttpBuildCacheProvider.test.ts +++ b/rush-plugins/rush-http-build-cache-plugin/src/HttpBuildCacheProvider.test.ts @@ -50,8 +50,8 @@ describe('HttpBuildCacheProvider', () => { method: 'GET', redirect: 'follow' }); - expect(terminalBuffer.getWarningOutput()).toEqual( - 'Error getting cache entry: Error: Credentials for https://buildcache.example.acme.com/ have not been provided.[n]In CI, verify that RUSH_BUILD_CACHE_CREDENTIAL contains a valid Authorization header value.[n][n]For local developers, run:[n][n] rush update-cloud-credentials --interactive[n][n]' + expect(terminalBuffer.getWarningOutput()).toMatchInlineSnapshot( + `"Error getting cache entry: Error: Credentials for https://buildcache.example.acme.com/ have not been provided.[n]In CI, verify that RUSH_BUILD_CACHE_CREDENTIAL contains a valid Authorization header value.[n][n]For local developers, run:[n][n] rush update-cloud-credentials --interactive[n][n]"` ); }); });