aboutsummaryrefslogtreecommitdiffstats
path: root/src/binary
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary')
-rw-r--r--src/binary/reader.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/binary/reader.rs b/src/binary/reader.rs
index 5b26777..56bb587 100644
--- a/src/binary/reader.rs
+++ b/src/binary/reader.rs
@@ -346,7 +346,11 @@ mod tests {
assert_eq!(events[2], StringValue("\u{2605} or better".to_owned()));
- let poem = if let StringValue(ref mut poem) = events[4] { poem } else { panic!("not a string") };
+ let poem = if let StringValue(ref mut poem) = events[4] {
+ poem
+ } else {
+ panic!("not a string")
+ };
assert_eq!(poem.len(), 643);
assert_eq!(poem.pop().unwrap(), '\u{2605}');
}