rpm: Don't emit optional fields when empty #877
Annotations
11 errors
unit:
frontend/rpm/template_test.go#L506
=== RUN TestTemplateOptionalFields
template_test.go:506: assertion failed:
--- expect
+++ actual
@@ -7,3 +7,7 @@
%description
-A helpful tool
+A helpful tool
+
+%install
+
+%files
--- FAIL: TestTemplateOptionalFields (0.00s)
|
unit
Process completed with exit code 1.
|
lint:
frontend/rpm/template_test.go#L491
Error return value of `specTmpl.Execute` is not checked (errcheck)
|
lint:
frontend/rpm/template_test.go#L511
Error return value of `specTmpl.Execute` is not checked (errcheck)
|
lint
issues found
|
Test E2E (disable diff/merge: 0)
Canceling since a higher priority waiting request for 'ci-refs/pull/311/merge' exists
|
Test E2E (disable diff/merge: 0)
The operation was canceled.
|
Test E2E (disable diff/merge: 1)
Canceling since a higher priority waiting request for 'ci-refs/pull/311/merge' exists
|
Test E2E (disable diff/merge: 1)
The operation was canceled.
|
integration
Canceling since a higher priority waiting request for 'ci-refs/pull/311/merge' exists
|
integration
The operation was canceled.
|