Skip to content

Commit

Permalink
Auto add snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerJang27 authored and github-actions[bot] committed Apr 8, 2024
1 parent 0cfcdb0 commit 475f5f8
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ exports[`Testing linter markdown-link-check test basic 1`] = `
"code": "404",
"column": "12",
"file": "test_data/basic.in.md",
"issueClass": "ISSUE_CLASS_EXISTING",
"level": "LEVEL_HIGH",
"line": "3",
"linter": "markdown-link-check",
Expand All @@ -18,7 +17,6 @@ exports[`Testing linter markdown-link-check test basic 1`] = `
"code": "0",
"column": "12",
"file": "test_data/basic.in.md",
"issueClass": "ISSUE_CLASS_EXISTING",
"level": "LEVEL_HIGH",
"line": "4",
"linter": "markdown-link-check",
Expand All @@ -36,16 +34,6 @@ exports[`Testing linter markdown-link-check test basic 1`] = `
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "markdown",
"linter": "markdown-link-check",
"paths": [
"test_data/basic.in.md",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
],
"taskFailures": [],
"unformattedFiles": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// trunk-upgrade-validation:RELEASE

exports[`Testing linter trufflehog-git test CUSTOM 1`] = `
{
"issues": [],
"lintActions": [],
"taskFailures": [
{
"details": StringMatching /\\.\\*\\$/m,
"message": "Downloading hermetic trufflehog v3.72.0",
"name": "trufflehog-git",
},
],
"unformattedFiles": [],
}
`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// trunk-upgrade-validation:RELEASE

exports[`Testing linter trufflehog test buff_size 1`] = `
{
"issues": [],
"lintActions": [],
"taskFailures": [
{
"details": StringMatching /\\.\\*\\$/m,
"message": "test_data/buff_size.in.cc",
"name": "trufflehog",
},
{
"details": StringMatching /\\.\\*\\$/m,
"message": "test_data/buff_size.in.cc",
"name": "trufflehog",
},
],
"unformattedFiles": [],
}
`;
22 changes: 22 additions & 0 deletions linters/trufflehog/test_data/trufflehog_v3.72.0_secrets.check.shot
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// trunk-upgrade-validation:RELEASE

exports[`Testing linter trufflehog test secrets 1`] = `
{
"issues": [],
"lintActions": [],
"taskFailures": [
{
"details": StringMatching /\\.\\*\\$/m,
"message": "test_data/secrets.in.py",
"name": "trufflehog",
},
{
"details": StringMatching /\\.\\*\\$/m,
"message": "test_data/secrets.in.py",
"name": "trufflehog",
},
],
"unformattedFiles": [],
}
`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// trunk-upgrade-validation:RELEASE

exports[`Testing linter trufflehog test wrong_line_number 1`] = `
{
"issues": [],
"lintActions": [],
"taskFailures": [
{
"details": StringMatching /\\.\\*\\$/m,
"message": "test_data/wrong_line_number.in.ts",
"name": "trufflehog",
},
{
"details": StringMatching /\\.\\*\\$/m,
"message": "test_data/wrong_line_number.in.ts",
"name": "trufflehog",
},
],
"unformattedFiles": [],
}
`;

0 comments on commit 475f5f8

Please sign in to comment.