Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

Auto-fix formatting issues

GitHub Action84ac0eca8ec8
diff --git a/tests/unit/windows-toolchain.test.ts b/tests/unit/windows-toolchain.test.ts
index 4fac4b6b..faf2012c 100644
--- a/tests/unit/windows-toolchain.test.ts
+++ b/tests/unit/windows-toolchain.test.ts
@@ -39,9 +39,9 @@ describe('WinBuilder toolchain target selection', () => {
});
it('keeps the msvc triples when windowsToolchain is explicitly msvc', () => {
- expect(
- (makeWinBuilder('x64', 'msvc') as any).getTauriTarget('x64'),
- ).toBe('x86_64-pc-windows-msvc');
+ expect((makeWinBuilder('x64', 'msvc') as any).getTauriTarget('x64')).toBe(
+ 'x86_64-pc-windows-msvc',
+ );
});
it('maps x64 to the gnu triple when windowsToolchain is gnu', () => {
@@ -103,8 +103,7 @@ describe('getWindowsGnuBuildEnvironment', () => {
process.env.RUSTFLAGS = '-C target-cpu=native';
delete process.env.RUSTUP_TOOLCHAIN;
expect(getWindowsGnuBuildEnvironment()).toEqual({
- RUSTFLAGS:
- '-C target-cpu=native -C link-args=-Wl,--exclude-all-symbols',
+ RUSTFLAGS: '-C target-cpu=native -C link-args=-Wl,--exclude-all-symbols',
RUSTUP_TOOLCHAIN: 'stable-x86_64-pc-windows-gnu',
});
});