1 2 3 4 5 6 7 8 9 10 11 12 13
use super::*; pub(crate) struct Output { pub(crate) pid: u32, pub(crate) stdout: String, pub(crate) tempdir: TempDir, } impl Output { pub(crate) fn test(self) -> Test { Test::with_tempdir(self.tempdir) } }