From 362af63c6f45e98948536d08d2d6195af87f729c Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 23 Aug 2022 10:30:14 -0400 Subject: fix(cache): do not attempt to emit non-emitable files (#15562) --- test_util/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test_util/src') diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs index d15538e54..038045a5c 100644 --- a/test_util/src/lib.rs +++ b/test_util/src/lib.rs @@ -1904,6 +1904,8 @@ impl<'a> CheckOutputIntegrationTest<'a> { let expected = if let Some(s) = self.output_str { s.to_owned() + } else if self.output.is_empty() { + String::new() } else { let output_path = testdata_dir.join(self.output); println!("output path {}", output_path.display()); -- cgit v1.2.3