| # DO NOT EDIT; generated by go run testdata/gen.go |
| # |
| #name: inequality |
| #evalPartial |
| -- in.cue -- |
| a: 1 != 2 |
| b: 1 != null |
| c: true == null |
| d: null != {} |
| e: null == [] |
| f: 0 == 0.0 // types are unified first TODO: make this consistent |
| -- out/def -- |
| a: true |
| b: true |
| c: false |
| d: true |
| e: false |
| f: true |
| -- out/export -- |
| a: true |
| b: true |
| c: false |
| d: true |
| e: false |
| f: true |
| -- out/yaml -- |
| a: true |
| b: true |
| c: false |
| d: true |
| e: false |
| f: true |
| -- out/json -- |
| {"a":true,"b":true,"c":false,"d":true,"e":false,"f":true} |
| -- out/legacy-debug -- |
| <0>{a: true, b: true, c: false, d: true, e: false, f: true} |
| -- out/compile -- |
| --- in.cue |
| { |
| a: (1 != 2) |
| b: (1 != null) |
| c: (true == null) |
| d: (null != {}) |
| e: (null == []) |
| f: (0 == 0.0) |
| } |
| -- out/eval -- |
| (struct){ |
| a: (bool){ true } |
| b: (bool){ true } |
| c: (bool){ false } |
| d: (bool){ true } |
| e: (bool){ false } |
| f: (bool){ true } |
| } |