Skip to content

Commit 1d36446

Browse files
committed
f Err nit
1 parent 6cbf8bd commit 1d36446

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lightning/src/util/test_utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ impl KVStore for TestStore {
457457
if self.read_only {
458458
return Err(io::Error::new(
459459
io::ErrorKind::PermissionDenied,
460-
"read only",
460+
"Cannot modify read-only store",
461461
));
462462
}
463463
let mut persisted_lock = self.persisted_bytes.lock().unwrap();
@@ -472,7 +472,7 @@ impl KVStore for TestStore {
472472
if self.read_only {
473473
return Err(io::Error::new(
474474
io::ErrorKind::PermissionDenied,
475-
"read only",
475+
"Cannot modify read-only store",
476476
));
477477
}
478478

0 commit comments

Comments
 (0)