aboutsummaryrefslogtreecommitdiffhomepage
path: root/Example
diff options
context:
space:
mode:
authorGravatar Ryan Wilson <wilsonryan@google.com>2018-04-17 11:08:30 -0400
committerGravatar GitHub <noreply@github.com>2018-04-17 11:08:30 -0400
commit7f0b04afa2a058b9df6c00866bfe0a38f9640559 (patch)
treef93e2df4075d6264e8a8e3786d1ef6459b7042fe /Example
parent257d833efcfdd04f1d6b15b7308170733c14990e (diff)
Fix version number reporting for minor versions. (#1124)
* Fix version number reporting for minor versions. * run clang-format * Updated the comment in systemVersion.
Diffstat (limited to 'Example')
-rw-r--r--Example/Core/Tests/FIRAppEnvironmentUtilTest.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Example/Core/Tests/FIRAppEnvironmentUtilTest.m b/Example/Core/Tests/FIRAppEnvironmentUtilTest.m
index aa0bb8a..2469e8d 100644
--- a/Example/Core/Tests/FIRAppEnvironmentUtilTest.m
+++ b/Example/Core/Tests/FIRAppEnvironmentUtilTest.m
@@ -43,7 +43,7 @@
NSOperatingSystemVersion osTen = {.majorVersion = 10, .minorVersion = 0, .patchVersion = 0};
OCMStub([self.processInfoMock operatingSystemVersion]).andReturn(osTen);
- XCTAssertTrue([[FIRAppEnvironmentUtil systemVersion] isEqualToString:@"10"]);
+ XCTAssertTrue([[FIRAppEnvironmentUtil systemVersion] isEqualToString:@"10.0"]);
}
- (void)testSystemVersionInfoMajorMinor {