From: Ian Jackson Date: Thu, 31 Mar 2022 19:39:56 +0000 (+0100) Subject: apitest: Fix a write() call that should be write_all() X-Git-Tag: otter-1.0.0~26 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=1d3403b4346e8f33d5f2cba81a6077ac8c44553f;p=otter.git apitest: Fix a write() call that should be write_all() Signed-off-by: Ian Jackson --- diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index dbed7976..79058df0 100644 --- a/apitest/at-otter.rs +++ b/apitest/at-otter.rs @@ -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 \