// ignore-order // exact-check // Make sure that results are order-agnostic, even when there's search items that only differ // by generics. const EXPECTED = [ { 'query': 'Wrap', 'in_args': [ { 'path': 'generics_match_ambiguity', 'name': 'bar' }, { 'path': 'generics_match_ambiguity', 'name': 'foo' }, ], }, { 'query': 'Wrap', 'in_args': [ { 'path': 'generics_match_ambiguity', 'name': 'bar' }, { 'path': 'generics_match_ambiguity', 'name': 'foo' }, ], }, { 'query': 'Wrap, Wrap', 'others': [ { 'path': 'generics_match_ambiguity', 'name': 'bar' }, { 'path': 'generics_match_ambiguity', 'name': 'foo' }, ], }, { 'query': 'Wrap, Wrap', 'others': [ { 'path': 'generics_match_ambiguity', 'name': 'bar' }, { 'path': 'generics_match_ambiguity', 'name': 'foo' }, ], }, { 'query': 'W3, W3', 'others': [ { 'path': 'generics_match_ambiguity', 'name': 'baaa' }, { 'path': 'generics_match_ambiguity', 'name': 'baab' }, ], }, { 'query': 'W3, W3', 'others': [ { 'path': 'generics_match_ambiguity', 'name': 'baaa' }, { 'path': 'generics_match_ambiguity', 'name': 'baab' }, ], }, { // strict generics matching; W2 doesn't match W2>, // even though W2 works just fine (ignoring the W3) 'query': 'W2, W2', 'others': [], }, { 'query': 'W2, W2', 'others': [], }, { 'query': 'W2, W3', 'others': [], }, { 'query': 'W2, W2', 'others': [], }, ];