murex
murex copied to clipboard
json `[]interface{}` doesn't work with `index` column names
Works with jsonl
but not json
Code block doesn't return expected values in test 1
Code block: tout json ([["a","s","l"],["21","m","london"],["32","f","spain"],["43","m","italy"],["54","f","france"],["65","m","london"]]) -> [:1]
Expected Stdout: ["21","m","london"]\n
Actual Stdout:
Exp. out bytes: [91 34 50 49 34 44 34 109 34 44 34 108 111 110 100 111 110 34 93 10]
Act. out bytes: []
Expected Stderr:
Actual Stderr: Error in `[` ( 1,130): strconv.Atoi: parsing ":1": invalid syntax\n
Exp. err bytes: []
Act. err bytes: [69 114 114 111 114 32 105 110 32 96 91 96 32 40 32 49 44 49 51 48 41 58 32 115 116 114 99 111 110 118 46 65 116 111 105 58 32 112 97 114 115 105 110 103 32 34 49 58 34 58 32 105 110 118 97 108 105 100 32 115 121 110 116 97 120 10]
Expected exitnum: 0
Actual exitnum: 1