From 0c0e574755e6006c7f515114497ea20669ac6f16 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Mon, 9 May 2022 13:13:15 +0200 Subject: [PATCH] run format --- .github/workflows/test-pypy.yml | 2 +- __tests__/finder.test.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-pypy.yml b/.github/workflows/test-pypy.yml index 8896ca09..0b14bde7 100644 --- a/.github/workflows/test-pypy.yml +++ b/.github/workflows/test-pypy.yml @@ -86,7 +86,7 @@ jobs: - name: Assert expected binaries (or symlinks) are present run: | - EXECUTABLE=${{ matrix.pypy }} + EXECUTABLE="pypy-3.7-v7.3.x" EXECUTABLE=${EXECUTABLE/-/} # remove the first '-' in "pypy-X.Y" -> "pypyX.Y" to match executable name EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe ${EXECUTABLE} --version diff --git a/__tests__/finder.test.ts b/__tests__/finder.test.ts index 7e9eaa47..c138b5a5 100644 --- a/__tests__/finder.test.ts +++ b/__tests__/finder.test.ts @@ -128,7 +128,9 @@ describe('Finder tests', () => { }); const tcFindSpy: jest.SpyInstance = jest.spyOn(tc, 'find'); - tcFindSpy.mockImplementationOnce(() => "").mockImplementationOnce(() => expPath); + tcFindSpy + .mockImplementationOnce(() => '') + .mockImplementationOnce(() => expPath); await io.mkdirP(pythonDir); await io.rmRF(path.join(toolDir, 'Python', '1.2.3'));