Skip to content

Commit

Permalink
logcheck: fix tests on Windows
Browse files Browse the repository at this point in the history
Filename regexp matching is sensitive to the path separator.
  • Loading branch information
pohly committed Mar 11, 2022
1 parent 770a642 commit 085c4ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -1 +1 @@
klog .*/doNotAllowKlog.go
klog .*doNotAllowKlog.go
2 changes: 1 addition & 1 deletion hack/tools/logcheck/testdata/src/mixed/structured_logging
Expand Up @@ -3,4 +3,4 @@
#
# Any file that is matched may only use structured logging calls.

unstructured .*/doNotAllowUnstructuredLogs.go
unstructured .*doNotAllowUnstructuredLogs.go

0 comments on commit 085c4ea

Please sign in to comment.