Skip to content

Commit

Permalink
🌱 make test data more realistic
Browse files Browse the repository at this point in the history
Signed-off-by: Arnout Engelen <arnout@bzzt.net>
  • Loading branch information
raboof committed May 30, 2024
1 parent 0a2dcf0 commit 4a1c34f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions checks/raw/pinned_dependencies_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,13 +420,13 @@ func TestMixedPinning(t *testing.T) {
t.Parallel()

workflowDependency := checker.Dependency{
Name: stringAsPointer("actions/checkout"),
PinnedAt: stringAsPointer("daadedc81d5f9d3c06d2c92f49202a3cc2b919ba"),
Name: stringAsPointer("github/codeql-action/analyze"),
PinnedAt: nil;

Check failure on line 424 in checks/raw/pinned_dependencies_test.go

View workflow job for this annotation

GitHub Actions / check-linter

syntax error: unexpected semicolon in composite literal; possibly missing comma or }

Check failure on line 424 in checks/raw/pinned_dependencies_test.go

View workflow job for this annotation

GitHub Actions / check-linter

missing ',' in composite literal (typecheck)

Check failure on line 424 in checks/raw/pinned_dependencies_test.go

View workflow job for this annotation

GitHub Actions / unit-test

missing ',' in composite literal
Location: &checker.File{
Path: ".github/workflows/workflow-not-pinned.yaml",
Snippet: "actions/checkout@daadedc81d5f9d3c06d2c92f49202a3cc2b919ba",
Offset: 31,
EndOffset: 31,
Snippet: "github/codeql-action/analyze@v1",
Offset: 79,
EndOffset: 79,
FileSize: 0,
Type: 1,
},
Expand Down

0 comments on commit 4a1c34f

Please sign in to comment.