From 4c5b95d5e3811025e2148a6f2a059738e79ca2c9 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 5 Jul 2026 11:25:57 +0300 Subject: add tests for repository's Apply --- examples/examples.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples/examples.go') diff --git a/examples/examples.go b/examples/examples.go index 9c42ce6..346d74a 100644 --- a/examples/examples.go +++ b/examples/examples.go @@ -70,7 +70,5 @@ func Run() error { _ = os.Link("/tmp/gonf_hello.txt", "/tmp/gonf_stale_hardlink") link.Have("/tmp/gonf_stale_hardlink", IsAbsent()) - resource.Apply() - - return nil + return resource.Apply() } -- cgit v1.2.3