Skip to content

Commit

Permalink
do not generate tests for views
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenafamo committed Jan 27, 2022
1 parent ec04ea1 commit 3897031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boilingcore/boilingcore.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func (s *State) Run() error {
}

// Generate the test templates
if !s.Config.NoTests {
if !s.Config.NoTests && !table.IsView {
if err := generateTestOutput(s, testDirExtMap, data); err != nil {
return errors.Wrap(err, "unable to generate test output")
}
Expand Down

0 comments on commit 3897031

Please sign in to comment.