| OLD | NEW |
| 1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 import 'package:expect/expect.dart'; | 5 import 'package:expect/expect.dart'; |
| 6 import 'package:os/os.dart' as os; | 6 import 'package:os/os.dart' as os; |
| 7 | 7 |
| 8 void main() { | 8 void main() { |
| 9 var systemInfo = os.sys.info(); | 9 var systemInfo = os.sys.info(); |
| 10 | 10 |
| 11 Expect.isTrue(systemInfo.operatingSystemName is String); | 11 Expect.isTrue(systemInfo.operatingSystemName is String); |
| 12 Expect.isTrue(systemInfo.nodeName is String); | 12 Expect.isTrue(systemInfo.nodeName is String); |
| 13 Expect.isTrue(systemInfo.release is String); | 13 Expect.isTrue(systemInfo.release is String); |
| 14 Expect.isTrue(systemInfo.version is String); | 14 Expect.isTrue(systemInfo.version is String); |
| 15 Expect.isTrue(systemInfo.machine is String); | 15 Expect.isTrue(systemInfo.machine is String); |
| 16 } | 16 } |
| OLD | NEW |