Skip to content

Commit

Permalink
@available doesn’t work with @suite, so try @test
Browse files Browse the repository at this point in the history
  • Loading branch information
tayloraswift committed Nov 19, 2024
1 parent 7210b3d commit 5968158
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Sources/MD5Tests/Hashing.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Testing
@Suite
struct Hashing
{
@available(macOS 13.3, iOS 16.4, macCatalyst 16.4, tvOS 16.4, visionOS 1.0, watchOS 9.4, *)
@Test(arguments: [
(0xd41d8cd98f00b204e9800998ecf8427e, []),
(0x0cc175b9c0f1b6a831c399e269772661, [0x61]),
Expand Down
1 change: 1 addition & 0 deletions Sources/MD5Tests/ParsingAndFormatting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Testing
@Suite
struct ParsingAndFormatting
{
@available(macOS 13.3, iOS 16.4, macCatalyst 16.4, tvOS 16.4, visionOS 1.0, watchOS 9.4, *)
@Test
static func strings() throws
{
Expand Down

0 comments on commit 5968158

Please sign in to comment.