We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log
test/drivers/slack_logger_test.dart
The SlackLogger test file fails to load due to compilation errors when trying to assign to a constructor:
Failed to load "test/drivers/slack_logger_test.dart": test/drivers/slack_logger_test.dart:38:23: Error: Can't assign to this. http.Client.new = () => httpClient; test/drivers/slack_logger_test.dart:134:23: Error: Can't assign to this. http.Client.new = () => httpClient;
The error occurs in two places where the test is attempting to mock the HTTP client by assigning to its constructor, which is not allowed in Dart.
No
00:01 +0 -18: loading test/drivers/slack_logger_test.dart [E] Failed to load "test/drivers/slack_logger_test.dart": test/drivers/slack_logger_test.dart:38:23: Error: Can't assign to this. http.Client.new = () => httpClient;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Select package
Log
Which jobs/test(s) are failing
test/drivers/slack_logger_test.dart
Reason for failure/description
The SlackLogger test file fails to load due to compilation errors when trying to assign to a constructor:
The error occurs in two places where the test is attempting to mock the HTTP client by assigning to its constructor, which is not allowed in Dart.
Is this a regression?
No
Media proof
Additional context
The text was updated successfully, but these errors were encountered: