Skip to content

Commit f82a248

Browse files
committed
Add test with backfill.
1 parent ff32746 commit f82a248

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/templates_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ func TestTemplate_Load(t *testing.T) {
197197
wantErr bool
198198
}{
199199
{"ok", fields{"include.tpl", Snippet, "../authority/testdata/templates/include.tpl", "~/.ssh/config", "#"}, false},
200+
{"ok backfill", fields{"sshd_config.tpl", Snippet, "../authority/testdata/templates/sshd_config.tpl", "/etc/ssh/sshd_config", "#"}, false},
200201
{"error", fields{"error.tpl", Snippet, "../authority/testdata/templates/error.tpl", "/tmp/error", "#"}, true},
201202
{"missing", fields{"include.tpl", Snippet, "./testdata/include.tpl", "~/.ssh/config", "#"}, true},
202203
}

0 commit comments

Comments
 (0)