---
cases:
  - data: {}
    modules:
      - |
        package generated

        p = x {
          semver.is_valid("1", __local0__)
          x = __local0__
        }
    note: semverisvalid/invalid version
    query: data.generated.p = x
    want_result:
      - x: false
