support the latest analyzer
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9b4bf33..f2d135a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.5.1+2
+
+* Support the latest `analyzer` package.
+
## 0.5.1+1
* Updated mock SDK sources to include FutureOr<T> (and fixed a syntax error)
diff --git a/pubspec.yaml b/pubspec.yaml
index 8896ef2..d9e8886 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,12 +1,12 @@
name: code_transformers
-version: 0.5.1+1
+version: 0.5.1+2
author: Dart Team <misc@dartlang.org>
description: Collection of utilities related to creating barback transformers.
homepage: https://github.com/dart-lang/code-transformers
environment:
sdk: '>=1.0.0 <2.0.0'
dependencies:
- analyzer: '>=0.28.0 <0.30.0'
+ analyzer: '>=0.28.0 <0.31.0'
barback: '>=0.14.2 <0.16.0'
cli_util: '>=0.0.1 <0.1.0'
path: '>=0.9.0 <2.0.0'
diff --git a/test/messages_test.dart b/test/messages_test.dart
index 33498f7..526263d 100644
--- a/test/messages_test.dart
+++ b/test/messages_test.dart
@@ -26,7 +26,7 @@
() => new MessageTemplate(_id('code_transformers', 1),
'this message has %-args-%', '', '')
.snippet,
- throws);
+ throwsA(contains("missing argument args")));
});
test('can pass arguments to create snippet', () {