grim/convey
Clone
Summary
Browse
Changes
Graph
Create a zip file for the docs
11 months ago, Gary Kramlich
c6695a974177
Create a zip file for the docs
Also renamed `convey-docs.yml` as it was getting deleted by the convey clean plan previously.
Testing Done:
Ran locally and verified the zip file was structured correctly.
Reviewed at https://reviews.imfreedom.org/r/2469/
package
docker
import
(
"testing"
"github.com/stretchr/testify/assert"
"keep.imfreedom.org/grim/convey/tasks"
)
func
TestExport
(
t
*
testing
.
T
)
{
e
:=
&
Export
{
Files
:
[]
string
{
".:."
},
}
assert
.
NoError
(
t
,
e
.
Valid
())
}
func
TestExportFilesRequired
(
t
*
testing
.
T
)
{
e
:=
&
Export
{}
assert
.
ErrorIs
(
t
,
e
.
Valid
(),
tasks
.
ErrNoFiles
)
}