From 4a43fa290ffabb08321f7817d6a97e50848eb81d Mon Sep 17 00:00:00 2001 From: Alan Knight Date: Wed, 2 Jul 2014 10:22:57 -0700 Subject: [PATCH] fix(pubspec,tests): update pubspec for newer version of Intl, fix failing test --- pubspec.yaml | 2 +- test/formatter/date_spec.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index fe4f30bc1..86cd5aeb5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -21,7 +21,7 @@ dependencies: collection: '>=0.9.1 <1.0.0' di: '>=1.0.0 <2.0.0' html5lib: '>=0.10.0 <0.11.0' - intl: '>=0.8.7 <0.10.0' + intl: '>=0.8.7 <0.12.0' perf_api: '>=0.0.8 <0.1.0' route_hierarchical: '>=0.4.21 <0.5.0' web_components: '>=0.3.3 <0.4.0' diff --git a/test/formatter/date_spec.dart b/test/formatter/date_spec.dart index 124dcb2e4..6ffbe816c 100644 --- a/test/formatter/date_spec.dart +++ b/test/formatter/date_spec.dart @@ -47,7 +47,7 @@ void main() { }); it('should accept various locales', async(() { - expect(Intl.withLocale('de', () => date(noon, "medium"))).toEqual('3. Sep 2010 12:05:08'); + expect(Intl.withLocale('sv', () => date(noon, "medium"))).toEqual('3 sep 2010 12:05:08'); expect(Intl.withLocale('fr', () => date(noon, "medium"))).toEqual('3 sept. 2010 12:05:08'); })); });