We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cbf8bd commit 1d36446Copy full SHA for 1d36446
1 file changed
lightning/src/util/test_utils.rs
@@ -457,7 +457,7 @@ impl KVStore for TestStore {
457
if self.read_only {
458
return Err(io::Error::new(
459
io::ErrorKind::PermissionDenied,
460
- "read only",
+ "Cannot modify read-only store",
461
));
462
}
463
let mut persisted_lock = self.persisted_bytes.lock().unwrap();
@@ -472,7 +472,7 @@ impl KVStore for TestStore {
472
473
474
475
476
477
478
0 commit comments