Skip to content

Commit

Permalink
Update tag name.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonforal committed Dec 10, 2024
1 parent 503bd78 commit 2e076b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/cli/src/sarif/sarif_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ fn generate_results(
}

/// A property tag to indicate an [`ArtifactClassification`] where `is_test_file` is true.
const CLASSIFICATION_TEST_FILE: &str = "DATADOG_ARTIFACT_IS_UNIT_TEST_FILE";
const CLASSIFICATION_TEST_FILE: &str = "DATADOG_ARTIFACT_IS_TEST_FILE";

/// Returns a map of un-normalized string paths to their corresponding [`Artifact`] in the same
/// order as encountered in the `unnormalized_path_strs` iterator.
Expand Down
2 changes: 1 addition & 1 deletion misc/integration-test-classification.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# * A file name not starting with that string should not have its SARIF artifact tagged as a test file.

# The SARIF property bag tag that a test file artifact should have.
TEST_FILE_TAG="DATADOG_ARTIFACT_IS_UNIT_TEST_FILE"
TEST_FILE_TAG="DATADOG_ARTIFACT_IS_TEST_FILE"

REPO_DIR=$(mktemp -d)
git clone --depth=1 https://github.com/muh-nee/classification-tests.git "${REPO_DIR}" || {
Expand Down

0 comments on commit 2e076b1

Please sign in to comment.