mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-08 04:23:43 +08:00
* fix: clean up iOS About page copy * fix(ios): sync About copy inventory --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>
12 lines
342 B
Swift
12 lines
342 B
Swift
import Foundation
|
|
import Testing
|
|
@testable import OpenClaw
|
|
|
|
struct DeviceInfoHelperTests {
|
|
@Test func `iOS version display omits platform prefix`() {
|
|
let version = OperatingSystemVersion(majorVersion: 26, minorVersion: 5, patchVersion: 0)
|
|
|
|
#expect(DeviceInfoHelper.iOSVersionStringForDisplay(version) == "26.5.0")
|
|
}
|
|
}
|