Skip to content

Commit d09071e

Browse files
authored
Reorganize fossil tests (#99)
1 parent 25a248f commit d09071e

File tree

16 files changed

+4
-2
lines changed

16 files changed

+4
-2
lines changed

lib/src/fossil_test.dart renamed to test/fossil_test.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import 'dart:io';
22
import 'dart:typed_data';
3+
4+
// WARNING: Internal test, do not rely on fossil.dart outside this scope.
5+
import 'package:centrifuge/src/fossil.dart';
36
import 'package:test/test.dart';
4-
import 'fossil.dart';
57

68
Uint8List readBytes(String path) {
79
final file = File(path);
@@ -16,7 +18,7 @@ void main() {
1618
// There are test cases in testdata/fossil/1 through 5
1719
for (var i = 1; i <= 5; i++) {
1820
test('Delta case #$i', () {
19-
final baseDir = 'testdata/fossil/$i';
21+
final baseDir = 'test/testdata/fossil/$i';
2022
final originPath = '$baseDir/origin';
2123
final deltaPath = '$baseDir/delta';
2224
final targetPath = '$baseDir/target';
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)