Skip to content

Commit 3897031

Browse files
committed
do not generate tests for views
1 parent ec04ea1 commit 3897031

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

boilingcore/boilingcore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ func (s *State) Run() error {
198198
}
199199

200200
// Generate the test templates
201-
if !s.Config.NoTests {
201+
if !s.Config.NoTests && !table.IsView {
202202
if err := generateTestOutput(s, testDirExtMap, data); err != nil {
203203
return errors.Wrap(err, "unable to generate test output")
204204
}

0 commit comments

Comments
 (0)