summaryrefslogtreecommitdiffstats
path: root/svgbob/src/buffer/fragment_buffer/fragment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'svgbob/src/buffer/fragment_buffer/fragment.rs')
-rw-r--r--svgbob/src/buffer/fragment_buffer/fragment.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/svgbob/src/buffer/fragment_buffer/fragment.rs b/svgbob/src/buffer/fragment_buffer/fragment.rs
index 3329315..faa7680 100644
--- a/svgbob/src/buffer/fragment_buffer/fragment.rs
+++ b/svgbob/src/buffer/fragment_buffer/fragment.rs
@@ -65,7 +65,7 @@ impl Fragment {
pub fn match_unicode(fragments: &Vec<Self>) -> Option<char> {
let mut sorted_shapes = fragments.clone();
sorted_shapes.sort();
- assert!(sorted_shapes.is_sorted());
+ //assert!(sorted_shapes.is_sorted());
FRAGMENTS_UNICODE.get(&sorted_shapes).map(|c| *c)
}
@@ -616,7 +616,6 @@ impl PartialEq for Fragment {
#[cfg(test)]
mod tests {
use super::*;
- extern crate test;
use crate::buffer::CellGrid;
#[test]