mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 13:57:09 +01:00
Fix dart-json parsing broken by print message
Print message related to suite, instead of a specific test, would break parsing - it would expect test object to be present in dictionary but there would be none. This fix adds necessary check and messages not related to tracked tests will be ignored.
This commit is contained in:
parent
cbdb218336
commit
dcaab46b46
3 changed files with 6 additions and 3 deletions
|
|
@ -24,4 +24,6 @@ void main() {
|
|||
throw Exception('Some error');
|
||||
});
|
||||
});
|
||||
|
||||
print('Hello from the test');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue