Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Commit

Permalink
fix: Fix nil fields testing (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
irmatov authored Apr 6, 2022
1 parent fd7955e commit 4c456c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint_golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.42.1
args: --timeout 5m
version: v1.45.2
args: --timeout 5m
2 changes: 1 addition & 1 deletion provider/testing/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func verifyNoEmptyColumns(t *testing.T, table *schema.Table, conn pgxscan.Querie
nilColumns := map[string]bool{}
// mark all columns as nil
for _, c := range table.Columns {
if !shouldSkipIgnoreInTest && !c.IgnoreInTests {
if shouldSkipIgnoreInTest || !c.IgnoreInTests {
nilColumns[c.Name] = true
}
}
Expand Down

0 comments on commit 4c456c4

Please sign in to comment.