aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/util
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/util')
-rw-r--r--crates/shirabe/tests/util/remote_filesystem_test.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/crates/shirabe/tests/util/remote_filesystem_test.rs b/crates/shirabe/tests/util/remote_filesystem_test.rs
index d294c5d2..4421f044 100644
--- a/crates/shirabe/tests/util/remote_filesystem_test.rs
+++ b/crates/shirabe/tests/util/remote_filesystem_test.rs
@@ -267,7 +267,14 @@ fn test_copy() {
GetResult::True
));
assert!(std::path::Path::new(&file).exists());
- assert!(strpos(&file_get_contents(&file).unwrap_or_default(), "testCopy").is_some());
+ // TODO(bytes)
+ assert!(
+ strpos(
+ &String::from_utf8_lossy(&file_get_contents(&file).unwrap_or_default()),
+ "testCopy"
+ )
+ .is_some()
+ );
unlink(&file);
}