diff --git a/src/test/unification.rs b/src/test/unification.rs index 56e88e2..7811647 100644 --- a/src/test/unification.rs +++ b/src/test/unification.rs @@ -173,12 +173,12 @@ fn test_subtype_unification() { UnificationProblem::new(vec![ (dict.parse("<Seq T>").unwrap(), dict.parse("<Seq W~<Seq Char>>").unwrap()), - (dict.parse("<Seq ℕ~<PosInt 10 BigEndian>>").unwrap(), - dict.parse("<Seq~<LengthPrefix x86.UInt64> W>").unwrap()), + (dict.parse("<Seq~<LengthPrefix x86.UInt64> ℕ~<PosInt 10 BigEndian>>").unwrap(), + dict.parse("<<LengthPrefix x86.UInt64> W>").unwrap()), ]).solve_subtype(), Ok(( dict.parse(" - <Seq~<LengthPrefix x86.UInt64> ℕ~<PosInt 10 BigEndian>> + <Seq ℕ~<PosInt 10 BigEndian>> ").unwrap(), vec![ // W