From 632d8dfa8fcb8e7d9c9c9d2557c0404083dc56c2 Mon Sep 17 00:00:00 2001 From: Luca Spinazzola Date: Wed, 26 Jun 2024 14:50:48 -0400 Subject: [PATCH] add watchosDeviceArm64 test --- .../multiplatformswiftpackage/dsl/TargetPlatformDslTest.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/kotlin/com/chromaticnoise/multiplatformswiftpackage/dsl/TargetPlatformDslTest.kt b/src/test/kotlin/com/chromaticnoise/multiplatformswiftpackage/dsl/TargetPlatformDslTest.kt index d857fd0..1706399 100644 --- a/src/test/kotlin/com/chromaticnoise/multiplatformswiftpackage/dsl/TargetPlatformDslTest.kt +++ b/src/test/kotlin/com/chromaticnoise/multiplatformswiftpackage/dsl/TargetPlatformDslTest.kt @@ -40,6 +40,11 @@ class TargetPlatformDslTest : StringSpec() { .shouldHaveTarget("watchosArm64") } + "adding watchOS targets should add arm 64 device target" { + TargetPlatformDsl().apply { watchOS(someVersion) }.targetPlatforms + .shouldHaveTarget("watchosDeviceArm64") + } + "adding watchOS targets should add arm 64 simulator target" { TargetPlatformDsl().apply { watchOS(someVersion) }.targetPlatforms .shouldHaveTarget("watchosSimulatorArm64")