[librsvg/rustification] marker.rs: Make the test assertion be	(expected, computed)
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [librsvg/rustification] marker.rs: Make the test assertion be	(expected, computed)
- Date: Thu, 27 Oct 2016 02:10:18 +0000 (UTC)
commit 4b2273aadc87b66d238e0c104deb3f3f42241ed2
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Oct 26 18:37:12 2016 -0500
    marker.rs: Make the test assertion be (expected, computed)
    
    Hopefully the computed result will be easier to see if it shows up later
    in the console output...
 rust/src/marker.rs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rust/src/marker.rs b/rust/src/marker.rs
index 0cc5df3..aa03ed1 100644
--- a/rust/src/marker.rs
+++ b/rust/src/marker.rs
@@ -211,7 +211,7 @@ mod tests {
 
     fn test_path_to_segments (path: cairo::Path, expected_segments: Vec<Segment>) {
         let segments = path_to_segments (path);
-        assert_eq! (segments, expected_segments);
+        assert_eq! (expected_segments, segments);
     }
 
     /* Single open path */
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]