From d5fa5545e827aab5f6207a367e4a45f4620d74d2 Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 13 Dec 2023 11:23:17 +0100 Subject: [PATCH] Remove glob pattern --- tests/bans_build.rs | 1 - .../snapshots/bans_build__allows_by_glob.snap | 35 ------------------- 2 files changed, 36 deletions(-) diff --git a/tests/bans_build.rs b/tests/bans_build.rs index 67041d6a..d60ec5da 100644 --- a/tests/bans_build.rs +++ b/tests/bans_build.rs @@ -179,7 +179,6 @@ name = "ring" allow-globs = [ "crypto/**.pl", "src/rsa/convert_nist_rsa_test_vectors.py", - "*.o", ] "#, ), diff --git a/tests/snapshots/bans_build__allows_by_glob.snap b/tests/snapshots/bans_build__allows_by_glob.snap index 2a19d75a..1ff2feeb 100644 --- a/tests/snapshots/bans_build__allows_by_glob.snap +++ b/tests/snapshots/bans_build__allows_by_glob.snap @@ -3,41 +3,6 @@ source: tests/bans_build.rs expression: diags --- [ - { - "fields": { - "code": "path-bypassed-by-glob", - "graphs": [ - { - "Krate": { - "name": "ring", - "version": "0.16.20" - }, - "parents": [ - { - "Krate": { - "name": "build-bans", - "version": "0.1.0" - } - } - ] - } - ], - "labels": [ - { - "column": 5, - "line": 11, - "message": "", - "span": "*.o" - } - ], - "message": "file allowed by glob", - "notes": [ - "path = '$CARGO_HOME/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.20/aes_nohw.o'" - ], - "severity": "help" - }, - "type": "diagnostic" - }, { "fields": { "code": "path-bypassed-by-glob",