has_tag.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [
  2. {
  3. "desc": "unquoted key",
  4. "query": "has:release",
  5. "result": [
  6. {"type": "spaces", "value": ""},
  7. {
  8. "type": "filter",
  9. "filter": "has",
  10. "negated": false,
  11. "key": {"type": "keySimple", "value": "has", "quoted": false},
  12. "operator": "",
  13. "value": {"type": "valueText", "value": "release", "quoted": false}
  14. },
  15. {"type": "spaces", "value": ""}
  16. ]
  17. },
  18. {
  19. "desc": "quoted key",
  20. "query": "has:\"hi:there\"",
  21. "result": [
  22. {"type": "spaces", "value": ""},
  23. {
  24. "type": "filter",
  25. "filter": "has",
  26. "negated": false,
  27. "key": {"type": "keySimple", "value": "has", "quoted": false},
  28. "operator": "",
  29. "value": {"type": "valueText", "value": "hi:there", "quoted": true}
  30. },
  31. {"type": "spaces", "value": ""}
  32. ]
  33. },
  34. {
  35. "desc": "malformed key",
  36. "query": "has:\"hi there\"",
  37. "result": [
  38. {"type": "spaces", "value": ""},
  39. {
  40. "type": "filter",
  41. "filter": "has",
  42. "negated": false,
  43. "key": {"type": "keySimple", "value": "has", "quoted": false},
  44. "operator": "",
  45. "value": {"type": "valueText", "value": "hi there", "quoted": true}
  46. },
  47. {"type": "spaces", "value": ""}
  48. ]
  49. }
  50. ]