---
cases:
  - note: semverisvalid/invalid version
    query: data.generated.p = x
    modules:
      - |
        package generated

        p := x if {
        	semver.is_valid("1", __local0__)
        	x = __local0__
        }
    data: {}
    want_result:
      - x: false
