File tree Expand file tree Collapse file tree 4 files changed +45
-3
lines changed
Example/OpenSwiftUIUITests Expand file tree Collapse file tree 4 files changed +45
-3
lines changed Original file line number Diff line number Diff line change @@ -87,9 +87,7 @@ struct ZStackUITests {
8787 }
8888 }
8989 openSwiftUIAssertSnapshot (
90- of: ContentView ( ) ,
91- // FIXME: Workaround #340
92- perceptualPrecision: 0.99
90+ of: ContentView ( )
9391 )
9492 }
9593}
Original file line number Diff line number Diff line change 1+ //
2+ // Initialize.c
3+ // OpenSwiftUIUITests
4+ //
5+ // Created by Kyle on 12/29/25.
6+ //
7+
8+ #include "Initialize.h"
9+ #include <stdio.h>
10+
11+ static void OpenSwiftUIUITests_InitializeSwift (void );
12+
13+ static void OpenSwiftUIUITests_Initialize (void ) {
14+ OpenSwiftUIUITests_InitializeSwift ();
15+ }
Original file line number Diff line number Diff line change 1+ //
2+ // Initialize.h
3+ // OpenSwiftUIUITests
4+ //
5+ // Created by Kyle on 12/29/25.
6+ //
7+
8+ #pragma once
9+
10+ __attribute__((constructor , used ))
11+ static void OpenSwiftUIUITests_Initialize (void );
Original file line number Diff line number Diff line change 1+ //
2+ // Initialize.swift
3+ // OpenSwiftUIUITests
4+ //
5+ // Created by Kyle on 12/29/25.
6+ //
7+
8+ #if OPENSWIFTUI
9+ @_spi ( ForTestOnly)
10+ import OpenSwiftUI
11+ #endif
12+
13+ @_cdecl ( " OpenSwiftUIUITests_InitializeSwift " )
14+ func __initialize( ) -> ( ) {
15+ #if OPENSWIFTUI
16+ Color . Resolved. _alignWithSwiftUIImplementation = true
17+ #endif
18+ }
You can’t perform that action at this time.
0 commit comments