Fix handling of TAG->CA (spell as T>C, =A, delG).
[lightning.git] / hgvs / diff_test.go
index 1032f4e3d2dbbc5cf24d6aa35c7ce97f653c85f8..8a0d0c8c941711f0c4c74972fbd2b36316de1b48 100644 (file)
@@ -128,6 +128,11 @@ func (s *diffSuite) TestDiff(c *check.C) {
                        b:      "tcaAaCCggTc",
                        expect: []string{"4G>A", "6delinsCC", "9A>T"},
                },
+               {
+                       a:      "tcatagagac",
+                       b:      "tcacaagac",
+                       expect: []string{"4T>C", "6del"},
+               },
        } {
                c.Log(trial)
                var vars []string