chiark / gitweb /
apitest: Fix a write() call that should be write_all()
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 31 Mar 2022 19:39:56 +0000 (20:39 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 31 Mar 2022 19:39:56 +0000 (20:39 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
apitest/at-otter.rs

index dbed7976e43c9c29aca7b757649438b9c2664754..79058df0fb5317d9d96f18d6b34c8b29d26fa2cc 100644 (file)
@@ -228,7 +228,7 @@ impl Ctx {
     static STATIC_TEST: &str = "# example static data -- for test\n";
 
     File::create(ds.subst("@authkeys@")?)?
-      .write(STATIC_TEST.as_bytes())?;
+      .write_all(STATIC_TEST.as_bytes())?;
 
     let set_keys = ds.gss(
       "--super --account ssh:test: set-ssh-keys \