diff --git a/pubspec.yaml b/pubspec.yaml index 94e0205..5caf11c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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: diff --git a/test/fc_path_util_test.dart b/test/fc_path_util_test.dart index ec4e44b..ec99cc5 100644 --- a/test/fc_path_util_test.dart +++ b/test/fc_path_util_test.dart @@ -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]'); - }); }