From 6186cfe5086e450769506439a977b661ab10a916 Mon Sep 17 00:00:00 2001 From: Nick Cooke Date: Wed, 29 May 2024 16:14:10 -0400 Subject: [PATCH] fix var name: --- .../Tests/Unit/Environment/GULAppEnvironmentUtilTest.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GoogleUtilities/Tests/Unit/Environment/GULAppEnvironmentUtilTest.m b/GoogleUtilities/Tests/Unit/Environment/GULAppEnvironmentUtilTest.m index f62545c..a366e52 100644 --- a/GoogleUtilities/Tests/Unit/Environment/GULAppEnvironmentUtilTest.m +++ b/GoogleUtilities/Tests/Unit/Environment/GULAppEnvironmentUtilTest.m @@ -59,7 +59,7 @@ - (void)testSystemVersionInfoMajorMinor { [UIDevice currentDevice].systemVersion); #else NSOperatingSystemVersion osTenTwo = {.majorVersion = 10, .minorVersion = 2, .patchVersion = 0}; - OCMStub([self.processInfoMock operatingSystemVersion]).andReturn(osTen); + OCMStub([self.processInfoMock operatingSystemVersion]).andReturn(osTenTwo); XCTAssertEqualObjects([GULAppEnvironmentUtil systemVersion], @"10.2"); #endif } @@ -70,7 +70,7 @@ - (void)testSystemVersionInfoMajorMinorPatch { [UIDevice currentDevice].systemVersion); #else NSOperatingSystemVersion osTenTwoOne = {.majorVersion = 10, .minorVersion = 2, .patchVersion = 1}; - OCMStub([self.processInfoMock operatingSystemVersion]).andReturn(osTen); + OCMStub([self.processInfoMock operatingSystemVersion]).andReturn(osTenTwo); XCTAssertEqualObjects([GULAppEnvironmentUtil systemVersion], @"10.2.1"); #endif }