Skip to content

Commit

Permalink
v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mgenware committed Jan 26, 2024
1 parent 519b08e commit 0cc462c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: fc_path_util
description: Helper methods for dart `path` package.
version: 1.0.2
version: 1.1.0
repository: https://github.com/flutter-cavalry/fc_path_util

environment:
Expand Down
8 changes: 0 additions & 8 deletions test/fc_path_util_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,4 @@ void main() {
expect(FCPathUtil.trimExtension('.a.ke', '.ke'), '.a');
expect(FCPathUtil.trimExtension('ke', '.ke'), 'ke');
});

test('basenameAndExtensions', () async {
expect(FCPathUtil.basenameAndExtensions('a').toString(), 'a');
expect(FCPathUtil.basenameAndExtensions('a.b').toString(), 'a[.b]');
expect(FCPathUtil.basenameAndExtensions('a.b.c').toString(), 'a[.b.c]');
expect(FCPathUtil.basenameAndExtensions('.a').toString(), '[.a]');
expect(FCPathUtil.basenameAndExtensions('.a.b').toString(), '[.a.b]');
});
}

0 comments on commit 0cc462c

Please sign in to comment.