martinvonz added inline comments. INLINE COMMENTS
> hg_path.rs:438 > + let base = HgPath::new(b""); > + assert_eq!(Some(path), path.relative_to(base)); > + The argument order here feels backwards. I know some frameworks (like Java's JUnit) put the expected value first, but the definition of `assert_eq!` doesn't seem to have any opinion and https://doc.rust-lang.org/stable/rust-by-example/testing/unit_testing.html puts the actual value first. What do you think about changing the order? That would make it more readable to me. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7526/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7526 To: Alphare, #hg-reviewers, kevincox, pulkit Cc: martinvonz, durin42, kevincox, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel