run format

This commit is contained in:
Dmitry Shibanov 2022-05-09 13:13:15 +02:00
parent d43033cfcd
commit 0c0e574755
2 changed files with 4 additions and 2 deletions

View file

@ -86,7 +86,7 @@ jobs:
- name: Assert expected binaries (or symlinks) are present - name: Assert expected binaries (or symlinks) are present
run: | 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 the first '-' in "pypy-X.Y" -> "pypyX.Y" to match executable name
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
${EXECUTABLE} --version ${EXECUTABLE} --version

View file

@ -128,7 +128,9 @@ describe('Finder tests', () => {
}); });
const tcFindSpy: jest.SpyInstance = jest.spyOn(tc, 'find'); const tcFindSpy: jest.SpyInstance = jest.spyOn(tc, 'find');
tcFindSpy.mockImplementationOnce(() => "").mockImplementationOnce(() => expPath); tcFindSpy
.mockImplementationOnce(() => '')
.mockImplementationOnce(() => expPath);
await io.mkdirP(pythonDir); await io.mkdirP(pythonDir);
await io.rmRF(path.join(toolDir, 'Python', '1.2.3')); await io.rmRF(path.join(toolDir, 'Python', '1.2.3'));