Skip to content

Commit 3e80550

Browse files
committed
Remove non-null version in a test
The test had been passing because the `testVersion` variable was null in the pub workspace which matched the behavior of the test_descriptor package within the test..
1 parent 57f2839 commit 3e80550

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkgs/test/test/runner/json_reporter_utils.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ Future<void> expectJsonReport(
4141
final start = {
4242
'type': 'start',
4343
'protocolVersion': '0.1.1',
44-
'runnerVersion': testVersion,
44+
// Runner version cannot be read in the synthetic package
45+
'runnerVersion': null,
4546
'pid': testPid,
4647
};
4748
expect(decoded.first, equals(start));

0 commit comments

Comments
 (0)