diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-08-23 10:30:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 10:30:14 -0400 |
commit | 362af63c6f45e98948536d08d2d6195af87f729c (patch) | |
tree | 6fbef5a889147ca35439380960a83afa8fe39022 /test_util/src/lib.rs | |
parent | 86ef743c0fc266d4e6d86fd33da3f0ee983b4f19 (diff) |
fix(cache): do not attempt to emit non-emitable files (#15562)
Diffstat (limited to 'test_util/src/lib.rs')
-rw-r--r-- | test_util/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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()); |