99
1010func TestType_Equal (t * testing.T ) {
1111 tests := []struct {
12- index string
12+ index string // Index added for IDEA to show green test marker per test.
1313 a , b Type
1414 want bool
1515 }{
@@ -22,24 +22,18 @@ func TestType_Equal(t *testing.T) {
2222 {"7" , Int , Nil , false },
2323 {"8" , Int , Array (Int ), false },
2424 {"9" , Int , Map {"foo" : Int }, false },
25- {"10" , Int , StrictMap {"foo" : Int }, false },
2625 {"11" , Int , Array (Int ), false },
2726 {"12" , Array (Int ), Array (Int ), true },
2827 {"13" , Array (Int ), Array (Float ), false },
2928 {"14" , Map {"foo" : Int }, Map {"foo" : Int }, true },
3029 {"15" , Map {"foo" : Int }, Map {"foo" : Float }, false },
31- {"16" , Map {"foo" : Int }, StrictMap {"foo" : Int }, false },
32- {"17" , StrictMap {"foo" : Int }, StrictMap {"foo" : Int }, true },
33- {"18" , StrictMap {"foo" : Int }, StrictMap {"foo" : Float }, false },
3430 {"19" , Map {"foo" : Map {"bar" : Int }}, Map {"foo" : Map {"bar" : Int }}, true },
3531 {"20" , Map {"foo" : Map {"bar" : Int }}, Map {"foo" : Map {"bar" : Float }}, false },
3632 {"21" , Any , Any , true },
3733 {"22" , Any , Int , true },
3834 {"23" , Int , Any , true },
3935 {"24" , Any , Map {"foo" : Int }, true },
4036 {"25" , Map {"foo" : Int }, Any , true },
41- {"26" , Any , StrictMap {"foo" : Int }, true },
42- {"27" , StrictMap {"foo" : Int }, Any , true },
4337 {"28" , Any , Array (Int ), true },
4438 {"29" , Array (Int ), Any , true },
4539 }
0 commit comments