diff --git a/passwd_test.go b/passwd_test.go
index <HASH>..<HASH> 100644
--- a/passwd_test.go
+++ b/passwd_test.go
@@ -180,7 +180,7 @@ func ExampleNarcissus_NewPasswdUser() {
 }
 
 func ExampleNarcissus_NewPasswdUserToPasswd() {
-	aug, err := augeas.New(fakeroot, "", augeas.None)
+	aug, err := augeas.New(fakeroot, "", augeas.SaveNewFile)
 	if err != nil {
 		log.Fatal("Failed to create Augeas handler")
 	}
Use SaveNewFile to avoid modifying fakeroot