From b24338488e1bc1708279767cc4719e9cee3d364e Mon Sep 17 00:00:00 2001 From: Tuan Pham <103537251+phantumcode@users.noreply.github.com> Date: Wed, 3 Jul 2024 16:14:35 -0500 Subject: [PATCH] chore: resolve build failures in unit test for Xcode 16 beta 2 (#3768) --- 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 }