fix analysis issues with the new package:test
diff --git a/.gitignore b/.gitignore
index 52f0c5b..5d53a96 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 .packages
 .pub/
+build/
 pubspec.lock
diff --git a/test/src/common.dart b/test/src/common.dart
index 19359d5..d18b155 100644
--- a/test/src/common.dart
+++ b/test/src/common.dart
@@ -12,9 +12,9 @@
 AnalyticsImplMock createMock({Map<String, dynamic> props}) =>
     new AnalyticsImplMock('UA-0', props: props);
 
-void was(Map m, String type) => expect(m['t'], type);
-void has(Map m, String key) => expect(m[key], isNotNull);
-void hasnt(Map m, String key) => expect(m[key], isNull);
+was(Map m, String type) => expect(m['t'], type);
+has(Map m, String key) => expect(m[key], isNotNull);
+hasnt(Map m, String key) => expect(m[key], isNull);
 
 class AnalyticsImplMock extends AnalyticsImpl {
   MockProperties get mockProperties => properties;