@@ -524,10 +524,10 @@ StringTests.test("_isIdentical(to:)") {
524524
525525StringTests . test ( " String.UnicodeScalarView.isTriviallyIdentical(to:) " )
526526 . skip ( . custom( {
527- if #available( SwiftStdlib 6 . 3 , * ) { false } else { true }
528- } , reason: " Requires Swift stdlib 6.3 " ) )
527+ if #available( StdlibDeploymentTarget 6 . 4 , * ) { false } else { true }
528+ } , reason: " Requires Swift stdlib 6.4 " ) )
529529 . code {
530- guard #available( SwiftStdlib 6 . 3 , * ) else { return }
530+ guard #available( StdlibDeploymentTarget 6 . 4 , * ) else { return }
531531
532532 let a = " Hello " . unicodeScalars
533533 let b = " Hello " . unicodeScalars
@@ -542,10 +542,10 @@ StringTests.test("String.UnicodeScalarView.isTriviallyIdentical(to:)")
542542 }
543543StringTests . test ( " String.UTF8View.isTriviallyIdentical(to:) " )
544544 . skip ( . custom( {
545- if #available( SwiftStdlib 6 . 3 , * ) { false } else { true }
546- } , reason: " Requires Swift stdlib 6.3 " ) )
545+ if #available( StdlibDeploymentTarget 6 . 4 , * ) { false } else { true }
546+ } , reason: " Requires Swift stdlib 6.4 " ) )
547547 . code {
548- guard #available( SwiftStdlib 6 . 3 , * ) else { return }
548+ guard #available( StdlibDeploymentTarget 6 . 4 , * ) else { return }
549549
550550 let a = " Hello " . utf8
551551 let b = " Hello " . utf8
@@ -561,10 +561,10 @@ StringTests.test("String.UTF8View.isTriviallyIdentical(to:)")
561561 }
562562StringTests . test ( " String.UTF16View.isTriviallyIdentical(to:) " )
563563 . skip ( . custom( {
564- if #available( SwiftStdlib 6 . 3 , * ) { false } else { true }
565- } , reason: " Requires Swift stdlib 6.3 " ) )
564+ if #available( StdlibDeploymentTarget 6 . 4 , * ) { false } else { true }
565+ } , reason: " Requires Swift stdlib 6.4 " ) )
566566 . code {
567- guard #available( SwiftStdlib 6 . 3 , * ) else { return }
567+ guard #available( StdlibDeploymentTarget 6 . 4 , * ) else { return }
568568
569569 let a = " Hello " . utf16
570570 let b = " Hello " . utf16
@@ -581,10 +581,10 @@ StringTests.test("String.UTF16View.isTriviallyIdentical(to:)")
581581
582582StringTests . test ( " Substring.UnicodeScalarView.isTriviallyIdentical(to:) " )
583583 . skip ( . custom( {
584- if #available( SwiftStdlib 6 . 3 , * ) { false } else { true }
585- } , reason: " Requires Swift stdlib 6.3 " ) )
584+ if #available( StdlibDeploymentTarget 6 . 4 , * ) { false } else { true }
585+ } , reason: " Requires Swift stdlib 6.4 " ) )
586586 . code {
587- guard #available( SwiftStdlib 6 . 3 , * ) else { return }
587+ guard #available( StdlibDeploymentTarget 6 . 4 , * ) else { return }
588588
589589 let base1 = " Test String "
590590 let a = base1 [ base1. index ( base1. startIndex, offsetBy: 5 ) ..< base1. endIndex]
@@ -603,10 +603,10 @@ StringTests.test("Substring.UnicodeScalarView.isTriviallyIdentical(to:)")
603603 }
604604StringTests . test ( " Substring.UTF8View.isTriviallyIdentical(to:) " )
605605 . skip ( . custom( {
606- if #available( SwiftStdlib 6 . 3 , * ) { false } else { true }
607- } , reason: " Requires Swift stdlib 6.3 " ) )
606+ if #available( StdlibDeploymentTarget 6 . 4 , * ) { false } else { true }
607+ } , reason: " Requires Swift stdlib 6.4 " ) )
608608 . code {
609- guard #available( SwiftStdlib 6 . 3 , * ) else { return }
609+ guard #available( StdlibDeploymentTarget 6 . 4 , * ) else { return }
610610
611611 let base1 = " Test String "
612612 let a = base1 [ base1. index ( base1. startIndex, offsetBy: 5 ) ..< base1. endIndex]
@@ -625,10 +625,10 @@ StringTests.test("Substring.UTF8View.isTriviallyIdentical(to:)")
625625 }
626626StringTests . test ( " Substring.UTF16View.isTriviallyIdentical(to:) " )
627627 . skip ( . custom( {
628- if #available( SwiftStdlib 6 . 3 , * ) { false } else { true }
629- } , reason: " Requires Swift stdlib 6.3 " ) )
628+ if #available( StdlibDeploymentTarget 6 . 4 , * ) { false } else { true }
629+ } , reason: " Requires Swift stdlib 6.4 " ) )
630630 . code {
631- guard #available( SwiftStdlib 6 . 3 , * ) else { return }
631+ guard #available( StdlibDeploymentTarget 6 . 4 , * ) else { return }
632632
633633 let base1 = " Test String "
634634 let a = base1 [ base1. index ( base1. startIndex, offsetBy: 5 ) ..< base1. endIndex]
0 commit comments