summaryrefslogtreecommitdiff
path: root/examples/examples.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-07-05 11:25:57 +0300
committerPaul Buetow <paul@buetow.org>2026-07-05 11:25:57 +0300
commit4c5b95d5e3811025e2148a6f2a059738e79ca2c9 (patch)
treee0aaaef14e1ed6fc0d78c460b671289e39e94c73 /examples/examples.go
parent5256a4d1e5a56510758bfac710ba2ad2a45af66e (diff)
add tests for repository's Apply
Diffstat (limited to 'examples/examples.go')
-rw-r--r--examples/examples.go4
1 files changed, 1 insertions, 3 deletions
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()
}