Skip to content

Commit ff27219

Browse files
committed
fix unittests
Signed-off-by: Andrei Gherghescu <[email protected]>
1 parent f29d8d3 commit ff27219

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plotly/src/plot.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,11 +585,11 @@ impl PartialEq for Plot {
585585
mod tests {
586586
use std::path::PathBuf;
587587

588+
use base64::{engine::general_purpose, Engine as _};
588589
use serde_json::{json, to_value};
589590

590591
use super::*;
591592
use crate::Scatter;
592-
use base64::{engine::general_purpose, Engine as _};
593593

594594
fn create_test_plot() -> Plot {
595595
let trace1 = Scatter::new(vec![0, 1, 2], vec![6, 10, 2]).name("trace1");
@@ -835,7 +835,6 @@ mod tests {
835835
// Limit the comparison to the first LEN characters;
836836
// Image contents seem to be slightly inconsistent across platforms
837837
const LEN: usize = 50;
838-
assert!(false);
839838
assert_eq!(expected_decoded[..LEN], result_decoded[..LEN]);
840839
}
841840

0 commit comments

Comments
 (0)