mirror of
https://github.com/dnlbauer/xdrfile.git
synced 2026-09-10 22:25:30 +00:00
Refactor frame to have desired semantics
This commit is contained in:
@@ -304,7 +304,7 @@ mod tests {
|
||||
let err = Error::from((path, mode));
|
||||
assert_eq!(expected, err);
|
||||
|
||||
let frame = Frame::with_capacity(0);
|
||||
let frame = Frame::with_len(0);
|
||||
let expected = Error::WrongSizeFrame {
|
||||
expected: 10,
|
||||
found: 0,
|
||||
|
||||
Reference in New Issue
Block a user