Skip to content

Commit

Permalink
fix var name:
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 committed May 29, 2024
1 parent 6fa05fc commit 6186cfe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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
}
Expand Down

0 comments on commit 6186cfe

Please sign in to comment.