Skip to content

Commit 95b2534

Browse files
committed
Add testMainActor @available
1 parent f76c216 commit 95b2534

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/AndroidNativeTests/AndroidNativeTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import XCTest
22
import AndroidNative
33

44
class AndroidNativeTests : XCTestCase {
5+
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
56
public func testMainActor() async {
67
let actorDemo = await MainActorDemo()
78
let result = await actorDemo.add(n1: 1, n2: 2)

0 commit comments

Comments
 (0)