From 2a762366d24c892d91f362da420cf598dc10e35f Mon Sep 17 00:00:00 2001 From: Tuan Pham Date: Wed, 3 Jul 2024 14:23:45 -0500 Subject: [PATCH] chore: resolve build failures in unit test for Xcode 16 beta 2 --- AmplifyTests/CoreTests/AmplifyPublisherTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AmplifyTests/CoreTests/AmplifyPublisherTests.swift b/AmplifyTests/CoreTests/AmplifyPublisherTests.swift index dcdab6ed19..013cea0015 100644 --- a/AmplifyTests/CoreTests/AmplifyPublisherTests.swift +++ b/AmplifyTests/CoreTests/AmplifyPublisherTests.swift @@ -325,7 +325,7 @@ class AmplifyPublisherTests: XCTestCase { return nil } else { if fails && current > 4 { - throw Failure.unluckyNumber + throw AmplifyPublisherTests.Failure.unluckyNumber } else { return current }