| 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:typed_data'; | 5 import 'dart:typed_data'; |
| 6 | 6 |
| 7 import 'package:expect/expect.dart'; | 7 import 'package:expect/expect.dart'; |
| 8 import 'package:file/file.dart'; | 8 import 'package:file/file.dart'; |
| 9 | 9 |
| 10 void main() { | 10 void main() { |
| 11 testOpen(); | 11 testOpen(); |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 Expect.equals(0, file.length); | 59 Expect.equals(0, file.length); |
| 60 file.position = 0; | 60 file.position = 0; |
| 61 Expect.equals(0, file.position); | 61 Expect.equals(0, file.position); |
| 62 file.position = 1; | 62 file.position = 1; |
| 63 Expect.equals(1, file.position); | 63 Expect.equals(1, file.position); |
| 64 Expect.equals(0, file.length); | 64 Expect.equals(0, file.length); |
| 65 | 65 |
| 66 file.close(); | 66 file.close(); |
| 67 File.delete(file.path); | 67 File.delete(file.path); |
| 68 } | 68 } |
| OLD | NEW |