Skip to content
New issue

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

Fix regex event matching #13375

Closed
wants to merge 4 commits into from
Closed

Conversation

katre
Copy link
Member

@katre katre commented Apr 19, 2021

This is the prerequisite to #13371.

@katre katre requested a review from janakdr April 19, 2021 17:22
@google-cla google-cla bot added the cla: yes label Apr 19, 2021
@@ -353,11 +354,10 @@ public void ioExceptionReadingBuildFileForDiscoveredInput() throws Exception {
buildTarget("//hello:hello");
BuildFailedException e =
assertThrows(BuildFailedException.class, () -> buildTarget("//hello:hello"));
MoreAsserts.assertContainsEventRegex(
events.collector(),
MoreAsserts.assertContainsEvent(events.collector(), Pattern.compile(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty sure our internal linter is going to complain about compiling a constant string pattern inline. Not worth refactoring, just FYI.

@bazel-io bazel-io closed this in ad90293 Apr 19, 2021
@katre katre deleted the fix-regex-event-matching branch April 19, 2021 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants