| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 'dart:async'; | 5 import 'dart:async'; |
| 6 import 'dart:io'; | 6 import 'dart:io'; |
| 7 | 7 |
| 8 import 'package:expect/expect.dart'; | 8 import 'package:expect/expect.dart'; |
| 9 | 9 |
| 10 Future<Null> main() async { | 10 Future<Null> main() async { |
| 11 String buildDir = const String.fromEnvironment('test.dart.build-dir'); | 11 String buildDir = const String.fromEnvironment('test.dart.build-dir'); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 22 // Check the version of the fletch CLI. | 22 // Check the version of the fletch CLI. |
| 23 result = await Process.run('$buildDir/fletch', ['--version']); | 23 result = await Process.run('$buildDir/fletch', ['--version']); |
| 24 Expect.equals(0, result.exitCode); | 24 Expect.equals(0, result.exitCode); |
| 25 Expect.equals(version, result.stdout); | 25 Expect.equals(version, result.stdout); |
| 26 | 26 |
| 27 // Check the version of the fletch-vm | 27 // Check the version of the fletch-vm |
| 28 result = await Process.run('$buildDir/fletch-vm', ['--version']); | 28 result = await Process.run('$buildDir/fletch-vm', ['--version']); |
| 29 Expect.equals(0, result.exitCode); | 29 Expect.equals(0, result.exitCode); |
| 30 Expect.equals(version, result.stdout); | 30 Expect.equals(version, result.stdout); |
| 31 } | 31 } |
| OLD | NEW |