summaryrefslogtreecommitdiff
path: root/config/apt_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/apt_test.go')
-rw-r--r--config/apt_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/apt_test.go b/config/apt_test.go
index 2f0df11..480c1b7 100644
--- a/config/apt_test.go
+++ b/config/apt_test.go
@@ -12,6 +12,7 @@ import (
func TestAptConfig(t *testing.T) {
cfg, err := config.ReadConfig([]byte(`---
+ version: v1
apt:
packages:
- libfoo
@@ -66,6 +67,7 @@ func TestAptConfigValidation(t *testing.T) {
t.Run("packages", func(t *testing.T) {
t.Run("ok", func(t *testing.T) {
_, err := config.ReadConfig([]byte(`---
+ version: v1
apt:
packages:
- f1
@@ -81,6 +83,7 @@ func TestAptConfigValidation(t *testing.T) {
t.Run("bad", func(t *testing.T) {
_, err := config.ReadConfig([]byte(`---
+ version: v1
apt:
packages:
- foo