@@ -15,15 +15,15 @@ type CopyParams struct {
1515}
1616
1717var copyTestCases = map [string ]CopyParams {
18- "empty map" : {
18+ "empty- map" : {
1919 input : map [string ]int {},
2020 expect : map [string ]int {},
2121 },
22- "single key-value pair" : {
22+ "single- key-value- pair" : {
2323 input : map [string ]int {"a" : 1 },
2424 expect : map [string ]int {"a" : 1 },
2525 },
26- "multiple key-value pairs" : {
26+ "multiple- key-value- pairs" : {
2727 input : map [string ]int {"a" : 1 , "b" : 2 , "c" : 3 },
2828 expect : map [string ]int {"a" : 1 , "b" : 2 , "c" : 3 },
2929 },
@@ -47,22 +47,22 @@ type AddParams struct {
4747}
4848
4949var addTestCases = map [string ]AddParams {
50- "no sources" : {
50+ "no- sources" : {
5151 target : map [string ]int {"a" : 1 },
5252 sources : []map [string ]int {},
5353 expect : map [string ]int {"a" : 1 },
5454 },
55- "single source" : {
55+ "single- source" : {
5656 target : map [string ]int {"a" : 1 },
5757 sources : []map [string ]int {{"b" : 2 }},
5858 expect : map [string ]int {"a" : 1 , "b" : 2 },
5959 },
60- "multiple sources with no conflicts" : {
60+ "multiple- sources- with-no- conflicts" : {
6161 target : map [string ]int {"a" : 1 },
6262 sources : []map [string ]int {{"b" : 2 }, {"c" : 3 }},
6363 expect : map [string ]int {"a" : 1 , "b" : 2 , "c" : 3 },
6464 },
65- "multiple sources with conflicts" : {
65+ "multiple- sources- with- conflicts" : {
6666 target : map [string ]int {"a" : 1 },
6767 sources : []map [string ]int {{"a" : 2 }, {"a" : 3 , "b" : 4 }},
6868 expect : map [string ]int {"a" : 3 , "b" : 4 },
0 commit comments