Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All jq queries supported? #2

Open
suntong opened this issue Dec 31, 2016 · 5 comments
Open

All jq queries supported? #2

suntong opened this issue Dec 31, 2016 · 5 comments

Comments

@suntong
Copy link

suntong commented Dec 31, 2016

Are all jq queries supported? I.e., picking a few from https://github.com/stedolan/jq/blob/master/tests/jq.test,

.foo
{"foo": 42, "bar": 43}
42

.foo | .bar
{"foo": {"bar": 42}, "bar": "badvalue"}
42

.foo.bar
{"foo": {"bar": 42}, "bar": "badvalue"}
42

.foo_bar
{"foo_bar": 2}
2

.["foo"].bar
{"foo": {"bar": 42}, "bar": "badvalue"}
42

."foo"."bar"
{"foo": {"bar": 20}}
20

[.[]|.foo?]
[1,[2],{"foo":3,"bar":4},{},{"foo":5}]
[3,null,5]

[.[]|.foo?.bar?]
[1,[2],[],{"foo":3},{"foo":{"bar":4}},{}]
[4,null]

Are they all supported?

Any plan to port the whole test cases there over here? (I don't mind give it a try, as long as you think all of them should be supported)

@suntong
Copy link
Author

suntong commented Jan 2, 2017

I tried to take a stab at it, but bumped into error with this small test file:

https://github.com/go-easygen/easygen/blob/c56261c51eabb6f9912bf45644a68b6a779f59a6/test/jq-test_0.go

The codeship build error is logged at
https://app.codeship.com/projects/135255/builds/21370744

Specifically it says,

  .../easygen/test/jq-test_0.go:64: t.Run  (type *testing.T has no field or method Run)

I did a comparison with your https://github.com/savaki/jq/blob/master/parse_test.go file, but didn't notice anything suspicious.

So what's about this "type *testing.T has no field or method Run"? Have I done something wrong? Thx.

@suntong
Copy link
Author

suntong commented Jan 3, 2017

I cloned and tested it in my own environment, https://github.com/suntong/jq, and get the same error as well.

$ go test -v 
# _.../suntong/jq
./parse_regexp_test.go:59: t.Run undefined (type *testing.T has no field or method Run)
# _/.../suntong/jq_test
./op_chain_test.go:56: t.Run undefined (type *testing.T has no field or method Run)
./op_dot_test.go:61: t.Run undefined (type *testing.T has no field or method Run)
./parse_test.go:63: t.Run undefined (type *testing.T has no field or method Run)
FAIL    _/.../suntong/jq [build failed]

$ go version
go version go1.6.1 linux/amd64

$ apt-cache policy golang-go
golang-go:
  Installed: 2:1.6-1ubuntu4
  Candidate: 2:1.6-1ubuntu4
  Version table:
 *** 2:1.6-1ubuntu4 500
        500 http://ca.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

@suntong
Copy link
Author

suntong commented Jan 3, 2017

FYI,

Full test cases from github.com/stedolan/jq added as
https://github.com/go-easygen/easygen/blob/master/test/jq-test_1.go_

(untested due to the above error/problem)

@andrewchambers
Copy link

@suntong testing.T is a go stdlibrary type. you probably have the wrong version of go.

@suntong
Copy link
Author

suntong commented May 10, 2018

Oh, thanks for the answer @andrewchambers,

So I tested my

https://github.com/go-easygen/easygen/blob/master/test/jq-test_0.go_

and indeed it is testing fine now:

$ go test -v -run TestParse0
=== RUN   TestParse0
=== RUN   TestParse0/simple
=== RUN   TestParse0/nested
=== RUN   TestParse0/index
=== RUN   TestParse0/range
--- PASS: TestParse0 (0.00s)
    --- PASS: TestParse0/simple (0.00s)
    --- PASS: TestParse0/nested (0.00s)
    --- PASS: TestParse0/index (0.00s)
    --- PASS: TestParse0/range (0.00s)
PASS
ok      _/home/tong/l/gg/suntong/jq     0.004s

However, as for the full test cases at
https://github.com/go-easygen/easygen/blob/master/test/jq-test_1.go_

Many of them are not passed:

$ go test -v -run TestParse1
=== RUN   TestParse1
=== RUN   TestParse1/case257
=== RUN   TestParse1/case46
=== RUN   TestParse1/case68
=== RUN   TestParse1/case89
=== RUN   TestParse1/case144
=== RUN   TestParse1/case155
=== RUN   TestParse1/case58
=== RUN   TestParse1/case78
=== RUN   TestParse1/case94
=== RUN   TestParse1/case154
=== RUN   TestParse1/case52
=== RUN   TestParse1/case93
=== RUN   TestParse1/case147
=== RUN   TestParse1/case199
=== RUN   TestParse1/case5
=== RUN   TestParse1/case167
=== RUN   TestParse1/case259
=== RUN   TestParse1/case131
=== RUN   TestParse1/case210
=== RUN   TestParse1/case229
=== RUN   TestParse1/case62
=== RUN   TestParse1/case137
=== RUN   TestParse1/case153
=== RUN   TestParse1/case228
=== RUN   TestParse1/case202
=== RUN   TestParse1/case208
=== RUN   TestParse1/case34
=== RUN   TestParse1/case35
=== RUN   TestParse1/case70
=== RUN   TestParse1/case125
=== RUN   TestParse1/case32
=== RUN   TestParse1/case139
=== RUN   TestParse1/case211
=== RUN   TestParse1/case264
=== RUN   TestParse1/case20
=== RUN   TestParse1/case23
=== RUN   TestParse1/case85
=== RUN   TestParse1/case162
=== RUN   TestParse1/case3
=== RUN   TestParse1/case12
=== RUN   TestParse1/case159
=== RUN   TestParse1/case234
=== RUN   TestParse1/case99
=== RUN   TestParse1/case132
=== RUN   TestParse1/case196
=== RUN   TestParse1/case200
=== RUN   TestParse1/case10
=== RUN   TestParse1/case61
=== RUN   TestParse1/case178
=== RUN   TestParse1/case51
=== RUN   TestParse1/case106
=== RUN   TestParse1/case172
=== RUN   TestParse1/case201
=== RUN   TestParse1/case219
=== RUN   TestParse1/case222
=== RUN   TestParse1/case233
=== RUN   TestParse1/case252
=== RUN   TestParse1/case1
=== RUN   TestParse1/case22
=== RUN   TestParse1/case119
=== RUN   TestParse1/case142
=== RUN   TestParse1/case256
=== RUN   TestParse1/case213
=== RUN   TestParse1/case243
=== RUN   TestParse1/case40
=== RUN   TestParse1/case67
=== RUN   TestParse1/case109
=== RUN   TestParse1/case151
=== RUN   TestParse1/case194
=== RUN   TestParse1/case214
=== RUN   TestParse1/case216
=== RUN   TestParse1/case45
=== RUN   TestParse1/case49
=== RUN   TestParse1/case55
=== RUN   TestParse1/case91
=== RUN   TestParse1/case63
=== RUN   TestParse1/case231
=== RUN   TestParse1/case33
=== RUN   TestParse1/case60
=== RUN   TestParse1/case180
=== RUN   TestParse1/case30
=== RUN   TestParse1/case59
=== RUN   TestParse1/case240
=== RUN   TestParse1/case253
=== RUN   TestParse1/case138
=== RUN   TestParse1/case163
=== RUN   TestParse1/case268
=== RUN   TestParse1/case224
=== RUN   TestParse1/case7
=== RUN   TestParse1/case104
=== RUN   TestParse1/case129
=== RUN   TestParse1/case143
=== RUN   TestParse1/case72
=== RUN   TestParse1/case181
=== RUN   TestParse1/case184
=== RUN   TestParse1/case160
=== RUN   TestParse1/case218
=== RUN   TestParse1/case245
=== RUN   TestParse1/case255
=== RUN   TestParse1/case42
=== RUN   TestParse1/case71
=== RUN   TestParse1/case83
=== RUN   TestParse1/case170
=== RUN   TestParse1/case92
=== RUN   TestParse1/case111
=== RUN   TestParse1/case198
=== RUN   TestParse1/case188
=== RUN   TestParse1/case238
=== RUN   TestParse1/case263
=== RUN   TestParse1/case79
=== RUN   TestParse1/case135
=== RUN   TestParse1/case161
=== RUN   TestParse1/case165
=== RUN   TestParse1/case27
=== RUN   TestParse1/case73
=== RUN   TestParse1/case130
=== RUN   TestParse1/case186
=== RUN   TestParse1/case254
=== RUN   TestParse1/case65
=== RUN   TestParse1/case149
=== RUN   TestParse1/case171
=== RUN   TestParse1/case192
=== RUN   TestParse1/case189
=== RUN   TestParse1/case4
=== RUN   TestParse1/case122
=== RUN   TestParse1/case121
=== RUN   TestParse1/case204
=== RUN   TestParse1/case232
=== RUN   TestParse1/case241
=== RUN   TestParse1/case24
=== RUN   TestParse1/case69
=== RUN   TestParse1/case75
=== RUN   TestParse1/case82
=== RUN   TestParse1/case236
=== RUN   TestParse1/case262
=== RUN   TestParse1/case47
=== RUN   TestParse1/case102
=== RUN   TestParse1/case140
=== RUN   TestParse1/case146
=== RUN   TestParse1/case141
=== RUN   TestParse1/case37
=== RUN   TestParse1/case66
=== RUN   TestParse1/case108
=== RUN   TestParse1/case134
=== RUN   TestParse1/case36
=== RUN   TestParse1/case250
=== RUN   TestParse1/case14
=== RUN   TestParse1/case112
=== RUN   TestParse1/case150
=== RUN   TestParse1/case193
=== RUN   TestParse1/case18
=== RUN   TestParse1/case25
=== RUN   TestParse1/case39
=== RUN   TestParse1/case124
=== RUN   TestParse1/case97
=== RUN   TestParse1/case133
=== RUN   TestParse1/case212
=== RUN   TestParse1/case267
=== RUN   TestParse1/case2
=== RUN   TestParse1/case90
=== RUN   TestParse1/case195
=== RUN   TestParse1/case205
=== RUN   TestParse1/case145
=== RUN   TestParse1/case152
=== RUN   TestParse1/case157
=== RUN   TestParse1/case247
=== RUN   TestParse1/case209
=== RUN   TestParse1/case248
=== RUN   TestParse1/case114
=== RUN   TestParse1/case123
=== RUN   TestParse1/case164
=== RUN   TestParse1/case175
=== RUN   TestParse1/case64
=== RUN   TestParse1/case197
=== RUN   TestParse1/case16
=== RUN   TestParse1/case44
=== RUN   TestParse1/case76
=== RUN   TestParse1/case103
=== RUN   TestParse1/case11
=== RUN   TestParse1/case107
=== RUN   TestParse1/case115
=== RUN   TestParse1/case179
=== RUN   TestParse1/case266
=== RUN   TestParse1/case38
=== RUN   TestParse1/case56
=== RUN   TestParse1/case183
=== RUN   TestParse1/case239
=== RUN   TestParse1/case6
=== RUN   TestParse1/case43
=== RUN   TestParse1/case182
=== RUN   TestParse1/case185
=== RUN   TestParse1/case206
=== RUN   TestParse1/case225
=== RUN   TestParse1/case50
=== RUN   TestParse1/case81
=== RUN   TestParse1/case220
=== RUN   TestParse1/case221
=== RUN   TestParse1/case223
=== RUN   TestParse1/case261
=== RUN   TestParse1/case26
=== RUN   TestParse1/case98
=== RUN   TestParse1/case173
=== RUN   TestParse1/case207
=== RUN   TestParse1/case110
=== RUN   TestParse1/case226
=== RUN   TestParse1/case227
=== RUN   TestParse1/case217
=== RUN   TestParse1/case9
=== RUN   TestParse1/case15
=== RUN   TestParse1/case174
=== RUN   TestParse1/case176
=== RUN   TestParse1/case260
=== RUN   TestParse1/case270
=== RUN   TestParse1/case84
=== RUN   TestParse1/case120
=== RUN   TestParse1/case230
=== RUN   TestParse1/case246
=== RUN   TestParse1/case41
=== RUN   TestParse1/case117
=== RUN   TestParse1/case136
=== RUN   TestParse1/case249
=== RUN   TestParse1/case8
=== RUN   TestParse1/case13
=== RUN   TestParse1/case21
=== RUN   TestParse1/case31
=== RUN   TestParse1/case269
=== RUN   TestParse1/case105
=== RUN   TestParse1/case113
=== RUN   TestParse1/case148
=== RUN   TestParse1/case191
=== RUN   TestParse1/case57
=== RUN   TestParse1/case80
=== RUN   TestParse1/case100
=== RUN   TestParse1/case127
=== RUN   TestParse1/case101
=== RUN   TestParse1/case156
=== RUN   TestParse1/case169
=== RUN   TestParse1/case237
=== RUN   TestParse1/case271
=== RUN   TestParse1/case54
=== RUN   TestParse1/case77
=== RUN   TestParse1/case88
=== RUN   TestParse1/case258
=== RUN   TestParse1/case203
=== RUN   TestParse1/case17
=== RUN   TestParse1/case87
=== RUN   TestParse1/case128
=== RUN   TestParse1/case158
=== RUN   TestParse1/case19
=== RUN   TestParse1/case187
=== RUN   TestParse1/case235
=== RUN   TestParse1/case48
=== RUN   TestParse1/case53
=== RUN   TestParse1/case96
=== RUN   TestParse1/case215
=== RUN   TestParse1/case118
=== RUN   TestParse1/case190
=== RUN   TestParse1/case244
=== RUN   TestParse1/case29
=== RUN   TestParse1/case242
=== RUN   TestParse1/case251
=== RUN   TestParse1/case265
=== RUN   TestParse1/case86
=== RUN   TestParse1/case177
=== RUN   TestParse1/case95
=== RUN   TestParse1/case166
=== RUN   TestParse1/case168
=== RUN   TestParse1/case28
=== RUN   TestParse1/case74
=== RUN   TestParse1/case116
=== RUN   TestParse1/case126
--- FAIL: TestParse1 (0.03s)
    --- FAIL: TestParse1/case257 (0.00s)
    --- FAIL: TestParse1/case46 (0.00s)
    --- FAIL: TestParse1/case68 (0.00s)
    --- FAIL: TestParse1/case89 (0.00s)
    --- FAIL: TestParse1/case144 (0.00s)
    --- FAIL: TestParse1/case155 (0.00s)
    --- FAIL: TestParse1/case58 (0.00s)
    --- FAIL: TestParse1/case78 (0.00s)
    --- FAIL: TestParse1/case94 (0.00s)
    --- FAIL: TestParse1/case154 (0.00s)
    --- FAIL: TestParse1/case52 (0.00s)
    --- FAIL: TestParse1/case93 (0.00s)
    --- FAIL: TestParse1/case147 (0.00s)
    --- FAIL: TestParse1/case199 (0.00s)
    --- FAIL: TestParse1/case5 (0.00s)
    --- FAIL: TestParse1/case167 (0.00s)
    --- FAIL: TestParse1/case259 (0.00s)
    --- FAIL: TestParse1/case131 (0.00s)
    --- FAIL: TestParse1/case210 (0.00s)
    --- FAIL: TestParse1/case229 (0.00s)
    --- FAIL: TestParse1/case62 (0.00s)
    --- FAIL: TestParse1/case137 (0.00s)
    --- FAIL: TestParse1/case153 (0.00s)
    --- FAIL: TestParse1/case228 (0.00s)
    --- FAIL: TestParse1/case202 (0.00s)
    --- FAIL: TestParse1/case208 (0.00s)
    --- FAIL: TestParse1/case34 (0.00s)
    --- FAIL: TestParse1/case35 (0.00s)
    --- FAIL: TestParse1/case70 (0.00s)
    --- FAIL: TestParse1/case125 (0.00s)
    --- FAIL: TestParse1/case32 (0.00s)
    --- FAIL: TestParse1/case139 (0.00s)
    --- FAIL: TestParse1/case211 (0.00s)
    --- FAIL: TestParse1/case264 (0.00s)
    --- PASS: TestParse1/case20 (0.00s)
    --- PASS: TestParse1/case23 (0.00s)
    --- FAIL: TestParse1/case85 (0.00s)
    --- FAIL: TestParse1/case162 (0.00s)
    --- FAIL: TestParse1/case3 (0.00s)
    --- FAIL: TestParse1/case12 (0.00s)
    --- FAIL: TestParse1/case159 (0.00s)
    --- FAIL: TestParse1/case234 (0.00s)
    --- FAIL: TestParse1/case99 (0.00s)
    --- FAIL: TestParse1/case132 (0.00s)
    --- FAIL: TestParse1/case196 (0.00s)
    --- FAIL: TestParse1/case200 (0.00s)
    --- FAIL: TestParse1/case10 (0.00s)
    --- FAIL: TestParse1/case61 (0.00s)
    --- FAIL: TestParse1/case178 (0.00s)
    --- FAIL: TestParse1/case51 (0.00s)
    --- FAIL: TestParse1/case106 (0.00s)
    --- FAIL: TestParse1/case172 (0.00s)
    --- FAIL: TestParse1/case201 (0.00s)
    --- FAIL: TestParse1/case219 (0.00s)
    --- FAIL: TestParse1/case222 (0.00s)
    --- FAIL: TestParse1/case233 (0.00s)
    --- FAIL: TestParse1/case252 (0.00s)
    --- FAIL: TestParse1/case1 (0.00s)
    --- PASS: TestParse1/case22 (0.00s)
    --- FAIL: TestParse1/case119 (0.00s)
    --- FAIL: TestParse1/case142 (0.00s)
    --- FAIL: TestParse1/case256 (0.00s)
    --- FAIL: TestParse1/case213 (0.00s)
    --- FAIL: TestParse1/case243 (0.00s)
    --- FAIL: TestParse1/case40 (0.00s)
    --- FAIL: TestParse1/case67 (0.00s)
    --- FAIL: TestParse1/case109 (0.00s)
    --- FAIL: TestParse1/case151 (0.00s)
    --- FAIL: TestParse1/case194 (0.00s)
    --- FAIL: TestParse1/case214 (0.00s)
    --- FAIL: TestParse1/case216 (0.00s)
    --- FAIL: TestParse1/case45 (0.00s)
    --- FAIL: TestParse1/case49 (0.00s)
    --- FAIL: TestParse1/case55 (0.00s)
    --- FAIL: TestParse1/case91 (0.00s)
    --- FAIL: TestParse1/case63 (0.00s)
    --- FAIL: TestParse1/case231 (0.00s)
    --- FAIL: TestParse1/case33 (0.00s)
    --- FAIL: TestParse1/case60 (0.00s)
    --- FAIL: TestParse1/case180 (0.00s)
    --- FAIL: TestParse1/case30 (0.00s)
    --- FAIL: TestParse1/case59 (0.00s)
    --- FAIL: TestParse1/case240 (0.00s)
    --- FAIL: TestParse1/case253 (0.00s)
    --- FAIL: TestParse1/case138 (0.00s)
    --- FAIL: TestParse1/case163 (0.00s)
    --- FAIL: TestParse1/case268 (0.00s)
    --- FAIL: TestParse1/case224 (0.00s)
    --- FAIL: TestParse1/case7 (0.00s)
    --- FAIL: TestParse1/case104 (0.00s)
    --- FAIL: TestParse1/case129 (0.00s)
    --- FAIL: TestParse1/case143 (0.00s)
    --- FAIL: TestParse1/case72 (0.00s)
    --- FAIL: TestParse1/case181 (0.00s)
    --- FAIL: TestParse1/case184 (0.00s)
    --- FAIL: TestParse1/case160 (0.00s)
    --- FAIL: TestParse1/case218 (0.00s)
    --- FAIL: TestParse1/case245 (0.00s)
    --- FAIL: TestParse1/case255 (0.00s)
    --- FAIL: TestParse1/case42 (0.00s)
    --- FAIL: TestParse1/case71 (0.00s)
    --- FAIL: TestParse1/case83 (0.00s)
    --- FAIL: TestParse1/case170 (0.00s)
    --- FAIL: TestParse1/case92 (0.00s)
    --- FAIL: TestParse1/case111 (0.00s)
    --- FAIL: TestParse1/case198 (0.00s)
    --- FAIL: TestParse1/case188 (0.00s)
    --- FAIL: TestParse1/case238 (0.00s)
    --- FAIL: TestParse1/case263 (0.00s)
    --- FAIL: TestParse1/case79 (0.00s)
    --- FAIL: TestParse1/case135 (0.00s)
    --- FAIL: TestParse1/case161 (0.00s)
    --- FAIL: TestParse1/case165 (0.00s)
    --- FAIL: TestParse1/case27 (0.00s)
    --- FAIL: TestParse1/case73 (0.00s)
    --- FAIL: TestParse1/case130 (0.00s)
    --- FAIL: TestParse1/case186 (0.00s)
    --- FAIL: TestParse1/case254 (0.00s)
    --- FAIL: TestParse1/case65 (0.00s)
    --- FAIL: TestParse1/case149 (0.00s)
    --- FAIL: TestParse1/case171 (0.00s)
    --- FAIL: TestParse1/case192 (0.00s)
    --- FAIL: TestParse1/case189 (0.00s)
    --- FAIL: TestParse1/case4 (0.00s)
    --- FAIL: TestParse1/case122 (0.00s)
    --- FAIL: TestParse1/case121 (0.00s)
    --- FAIL: TestParse1/case204 (0.00s)
    --- FAIL: TestParse1/case232 (0.00s)
    --- FAIL: TestParse1/case241 (0.00s)
    --- FAIL: TestParse1/case24 (0.00s)
    --- FAIL: TestParse1/case69 (0.00s)
    --- FAIL: TestParse1/case75 (0.00s)
    --- FAIL: TestParse1/case82 (0.00s)
    --- FAIL: TestParse1/case236 (0.00s)
    --- FAIL: TestParse1/case262 (0.00s)
    --- FAIL: TestParse1/case47 (0.00s)
    --- FAIL: TestParse1/case102 (0.00s)
    --- FAIL: TestParse1/case140 (0.00s)
    --- FAIL: TestParse1/case146 (0.00s)
    --- FAIL: TestParse1/case141 (0.00s)
    --- FAIL: TestParse1/case37 (0.00s)
    --- FAIL: TestParse1/case66 (0.00s)
    --- FAIL: TestParse1/case108 (0.00s)
    --- FAIL: TestParse1/case134 (0.00s)
    --- FAIL: TestParse1/case36 (0.00s)
    --- FAIL: TestParse1/case250 (0.00s)
    --- FAIL: TestParse1/case14 (0.00s)
    --- FAIL: TestParse1/case112 (0.00s)
    --- FAIL: TestParse1/case150 (0.00s)
    --- FAIL: TestParse1/case193 (0.00s)
    --- FAIL: TestParse1/case18 (0.00s)
    --- FAIL: TestParse1/case25 (0.00s)
    --- FAIL: TestParse1/case39 (0.00s)
    --- FAIL: TestParse1/case124 (0.00s)
    --- FAIL: TestParse1/case97 (0.00s)
    --- FAIL: TestParse1/case133 (0.00s)
    --- FAIL: TestParse1/case212 (0.00s)
    --- FAIL: TestParse1/case267 (0.00s)
    --- FAIL: TestParse1/case2 (0.00s)
    --- FAIL: TestParse1/case90 (0.00s)
    --- FAIL: TestParse1/case195 (0.00s)
    --- FAIL: TestParse1/case205 (0.00s)
    --- FAIL: TestParse1/case145 (0.00s)
    --- FAIL: TestParse1/case152 (0.00s)
    --- FAIL: TestParse1/case157 (0.00s)
    --- FAIL: TestParse1/case247 (0.00s)
    --- FAIL: TestParse1/case209 (0.00s)
    --- FAIL: TestParse1/case248 (0.00s)
    --- FAIL: TestParse1/case114 (0.00s)
    --- FAIL: TestParse1/case123 (0.00s)
    --- FAIL: TestParse1/case164 (0.00s)
    --- FAIL: TestParse1/case175 (0.00s)
    --- FAIL: TestParse1/case64 (0.00s)
    --- FAIL: TestParse1/case197 (0.00s)
    --- FAIL: TestParse1/case16 (0.00s)
    --- FAIL: TestParse1/case44 (0.00s)
    --- FAIL: TestParse1/case76 (0.00s)
    --- FAIL: TestParse1/case103 (0.00s)
    --- FAIL: TestParse1/case11 (0.00s)
    --- FAIL: TestParse1/case107 (0.00s)
    --- FAIL: TestParse1/case115 (0.00s)
    --- FAIL: TestParse1/case179 (0.00s)
    --- FAIL: TestParse1/case266 (0.00s)
    --- FAIL: TestParse1/case38 (0.00s)
    --- FAIL: TestParse1/case56 (0.00s)
    --- FAIL: TestParse1/case183 (0.00s)
    --- FAIL: TestParse1/case239 (0.00s)
    --- FAIL: TestParse1/case6 (0.00s)
    --- FAIL: TestParse1/case43 (0.00s)
    --- FAIL: TestParse1/case182 (0.00s)
    --- FAIL: TestParse1/case185 (0.00s)
    --- FAIL: TestParse1/case206 (0.00s)
    --- FAIL: TestParse1/case225 (0.00s)
    --- FAIL: TestParse1/case50 (0.00s)
    --- FAIL: TestParse1/case81 (0.00s)
    --- FAIL: TestParse1/case220 (0.00s)
    --- FAIL: TestParse1/case221 (0.00s)
    --- FAIL: TestParse1/case223 (0.00s)
    --- FAIL: TestParse1/case261 (0.00s)
    --- FAIL: TestParse1/case26 (0.00s)
    --- FAIL: TestParse1/case98 (0.00s)
    --- FAIL: TestParse1/case173 (0.00s)
    --- FAIL: TestParse1/case207 (0.00s)
    --- FAIL: TestParse1/case110 (0.00s)
    --- FAIL: TestParse1/case226 (0.00s)
    --- FAIL: TestParse1/case227 (0.00s)
    --- FAIL: TestParse1/case217 (0.00s)
    --- FAIL: TestParse1/case9 (0.00s)
    --- FAIL: TestParse1/case15 (0.00s)
    --- FAIL: TestParse1/case174 (0.00s)
    --- FAIL: TestParse1/case176 (0.00s)
    --- FAIL: TestParse1/case260 (0.00s)
    --- FAIL: TestParse1/case270 (0.00s)
    --- FAIL: TestParse1/case84 (0.00s)
    --- FAIL: TestParse1/case120 (0.00s)
    --- FAIL: TestParse1/case230 (0.00s)
    --- FAIL: TestParse1/case246 (0.00s)
    --- FAIL: TestParse1/case41 (0.00s)
    --- FAIL: TestParse1/case117 (0.00s)
    --- FAIL: TestParse1/case136 (0.00s)
    --- FAIL: TestParse1/case249 (0.00s)
    --- FAIL: TestParse1/case8 (0.00s)
    --- FAIL: TestParse1/case13 (0.00s)
    --- FAIL: TestParse1/case21 (0.00s)
    --- FAIL: TestParse1/case31 (0.00s)
    --- FAIL: TestParse1/case269 (0.00s)
    --- FAIL: TestParse1/case105 (0.00s)
    --- FAIL: TestParse1/case113 (0.00s)
    --- FAIL: TestParse1/case148 (0.00s)
    --- FAIL: TestParse1/case191 (0.00s)
    --- FAIL: TestParse1/case57 (0.00s)
    --- FAIL: TestParse1/case80 (0.00s)
    --- FAIL: TestParse1/case100 (0.00s)
    --- FAIL: TestParse1/case127 (0.00s)
    --- FAIL: TestParse1/case101 (0.00s)
    --- FAIL: TestParse1/case156 (0.00s)
    --- FAIL: TestParse1/case169 (0.00s)
    --- FAIL: TestParse1/case237 (0.00s)
    --- FAIL: TestParse1/case271 (0.00s)
    --- FAIL: TestParse1/case54 (0.00s)
    --- FAIL: TestParse1/case77 (0.00s)
    --- FAIL: TestParse1/case88 (0.00s)
    --- FAIL: TestParse1/case258 (0.00s)
    --- FAIL: TestParse1/case203 (0.00s)
    --- FAIL: TestParse1/case17 (0.00s)
    --- FAIL: TestParse1/case87 (0.00s)
    --- FAIL: TestParse1/case128 (0.00s)
    --- FAIL: TestParse1/case158 (0.00s)
    --- FAIL: TestParse1/case19 (0.00s)
    --- FAIL: TestParse1/case187 (0.00s)
    --- FAIL: TestParse1/case235 (0.00s)
    --- FAIL: TestParse1/case48 (0.00s)
    --- FAIL: TestParse1/case53 (0.00s)
    --- FAIL: TestParse1/case96 (0.00s)
    --- FAIL: TestParse1/case215 (0.00s)
    --- FAIL: TestParse1/case118 (0.00s)
    --- FAIL: TestParse1/case190 (0.00s)
    --- FAIL: TestParse1/case244 (0.00s)
    --- FAIL: TestParse1/case29 (0.00s)
    --- FAIL: TestParse1/case242 (0.00s)
    --- FAIL: TestParse1/case251 (0.00s)
    --- FAIL: TestParse1/case265 (0.00s)
    --- FAIL: TestParse1/case86 (0.00s)
    --- FAIL: TestParse1/case177 (0.00s)
    --- FAIL: TestParse1/case95 (0.00s)
    --- FAIL: TestParse1/case166 (0.00s)
    --- FAIL: TestParse1/case168 (0.00s)
    --- FAIL: TestParse1/case28 (0.00s)
    --- FAIL: TestParse1/case74 (0.00s)
    --- FAIL: TestParse1/case116 (0.00s)
    --- FAIL: TestParse1/case126 (0.00s)
FAIL
exit status 1
FAIL    _/home/tong/l/gg/suntong/jq     0.040s

I don't mind sending in my
https://github.com/go-easygen/easygen/blob/master/test/jq-test_0.go_
as PR, but given that is question hasn't been answered for more than a year... I wouldn't bother, unless I know for sure someone is going to take it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants