From 0cc462cb7e311279fa648e46b1b76fc7aabce8f6 Mon Sep 17 00:00:00 2001 From: Mgen Date: Sat, 27 Jan 2024 00:14:41 +0800 Subject: [PATCH] v1.1.0 --- pubspec.yaml | 2 +- test/fc_path_util_test.dart | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) 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]'); - }); }