Files
swift-mirror/validation-test/stdlib/StdlibUnittestMisc.swift
Dave Abrahams 3f36a4d5e7 Use %target-run-stdlib-swift in more tests
Now that it disables access control, this lit definition applies to many
more tests, where we used to use %target-run-stdlib-swift before access
control came online.

Also, drop -Xfrontend -disable-access-control from a bunch of tests that
don't need it.

Swift SVN r22634
2014-10-09 20:53:07 +00:00

18 lines
301 B
Swift

// RUN: %target-run-simple-swift | FileCheck %s
import StdlibUnittest
//
// Test OS version parsing
//
// CHECK: (10, 0, 0)
println(_parseDottedVersionTriple("10"))
// CHECK: (10, 9, 0)
println(_parseDottedVersionTriple("10.9"))
// CHECK: (10, 9, 3)
println(_parseDottedVersionTriple("10.9.3"))