Skip to content

test: add tests for lib/funcmap helpers - #689

Open
magic-peach wants to merge 1 commit into
projectsveltos:mainfrom
magic-peach:test/funcmap-coverage
Open

magic-peach wants to merge 1 commit into
projectsveltos:mainfrom
magic-peach:test/funcmap-coverage

Conversation

@magic-peach

Copy link
Copy Markdown
Contributor

Added tests for lib/funcmap's SveltosFuncMap and HasTextTemplateAnnotation, plus its to/fromYaml, to/fromToml and to/fromJson helpers. This is a separate package from lib/template/funcmap (already covered in #683), with its own exported API, and had zero coverage of its own.

go build ./lib/funcmap/..., go vet ./lib/funcmap/... and go test ./lib/funcmap/... all pass, 14/14 specs.

Signed-off-by: Akanksha Trehun <akankshatrehun@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant