Index: lib/src/runner/reporter/json.dart |
diff --git a/lib/src/runner/reporter/json.dart b/lib/src/runner/reporter/json.dart |
index 1d1d1357aee77c1a9651fb452d525fde58b5d462..a3166a573fef87a68a1f462f686839677f76984f 100644 |
--- a/lib/src/runner/reporter/json.dart |
+++ b/lib/src/runner/reporter/json.dart |
@@ -184,7 +184,7 @@ class JsonReporter implements Reporter { |
/// If a group doesn't have an ID yet, this assigns one and emits a new event |
/// for that group. |
List<int> _idsForGroups(Iterable<Group> groups, int suiteID) { |
- var parentID; |
+ int parentID; |
return groups.map((group) { |
if (_groupIDs.containsKey(group)) { |
parentID = _groupIDs[group]; |