ybelkada HF Staff commited on
Commit
d208a0c
·
verified ·
1 Parent(s): 7fad238

Harbor format: 871 coding_baseline tasks (part 30)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3/strings3_result.hjson +6 -0
  2. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3/strings4_result.hjson +1 -0
  3. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3/strings4_result.json +1 -0
  4. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3/strings_result.hjson +104 -0
  5. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3/trail_result.hjson +4 -0
  6. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3/windowseol_result.hjson +11 -0
  7. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3_result.hjson +1 -0
  8. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3_result.json +1 -0
  9. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3_test.hjson +3 -0
  10. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments4_result.hjson +23 -0
  11. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments4_result.json +23 -0
  12. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments4_test.hjson +51 -0
  13. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments5_result.hjson +23 -0
  14. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments5_result.json +23 -0
  15. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments5_test.hjson +51 -0
  16. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments6_result.hjson +1 -0
  17. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments6_result.json +1 -0
  18. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments6_test.hjson +4 -0
  19. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments7_result.hjson +7 -0
  20. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments7_result.json +7 -0
  21. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments7_test.hjson +8 -0
  22. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments_result.hjson +26 -0
  23. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments_result.json +26 -0
  24. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments_test.hjson +48 -0
  25. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/empty_result.hjson +3 -0
  26. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/empty_result.json +3 -0
  27. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/empty_test.hjson +3 -0
  28. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failCharset1_test.hjson +4 -0
  29. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON02_test.json +1 -0
  30. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON05_test.json +1 -0
  31. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON06_test.json +1 -0
  32. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON07_test.json +1 -0
  33. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON08_test.json +1 -0
  34. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON10_test.json +1 -0
  35. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON11_test.json +1 -0
  36. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON12_test.json +1 -0
  37. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON13_test.json +1 -0
  38. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON14_test.json +1 -0
  39. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON15_test.json +1 -0
  40. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON16_test.json +1 -0
  41. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON17_test.json +1 -0
  42. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON19_test.json +1 -0
  43. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON20_test.json +1 -0
  44. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON21_test.json +1 -0
  45. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON22_test.json +1 -0
  46. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON23_test.json +1 -0
  47. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON26_test.json +1 -0
  48. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON28_test.json +2 -0
  49. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON29_test.json +1 -0
  50. tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON30_test.json +1 -0
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3/strings3_result.hjson ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ // Empty string
3
+ a: ""
4
+ // Unicode code points that require escape inside quotes.
5
+ b: "\u00ad\u0600\u0604\u070f\u17b4\u17b5\u200c\u200f\u2028\u202f\u2060\u206f\ufeff\ufff0\uffff"
6
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3/strings4_result.hjson ADDED
@@ -0,0 +1 @@
 
 
1
+ ""
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3/strings4_result.json ADDED
@@ -0,0 +1 @@
 
 
1
+ ""
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3/strings_result.hjson ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ # simple
3
+
4
+ text1: This is a valid string value.
5
+ text2: a \ is just a \
6
+
7
+ text3: '''You need quotes for escapes'''
8
+
9
+ text4a: " untrimmed "
10
+ text4b: " untrimmed"
11
+ text4c: "untrimmed "
12
+
13
+ notml1: "\n"
14
+ notml2: " \n"
15
+ notml3: "\n \n \n \n"
16
+ notml4: "\t\n"
17
+
18
+ # multiline string
19
+
20
+ multiline1:
21
+ '''
22
+ first line
23
+ indented line
24
+ last line
25
+ '''
26
+
27
+ multiline2:
28
+ '''
29
+ first line
30
+ indented line
31
+ last line
32
+ '''
33
+
34
+ multiline3:
35
+ '''
36
+ first line
37
+ indented line
38
+ last line
39
+
40
+ ''' # trailing lf
41
+
42
+ multiline4:
43
+ ←→±≠Я
44
+
45
+ # escapes/no escape
46
+
47
+ foo1a: asdf\"'a\s\w
48
+ foo1b: asdf\"'a\s\w
49
+ foo1c: asdf\"'a\s\w
50
+
51
+ foo2a: '''"asdf"'''
52
+ foo2b: '''"asdf"'''
53
+
54
+ foo3a: asdf'''
55
+ foo3b: "'''asdf"
56
+
57
+ foo4a: "asdf'''\nasdf"
58
+ foo4b: "asdf\n'''asdf"
59
+
60
+ # in arrays
61
+ arr:
62
+ [
63
+ one
64
+ two
65
+ three
66
+ four
67
+ ]
68
+
69
+ # not strings
70
+ not:
71
+ {
72
+ number: 5
73
+ negative: -4.2
74
+ yes: true
75
+ no: false
76
+ null: null
77
+ array: [
78
+ 1
79
+ 2
80
+ 3
81
+ 4
82
+ 5
83
+ 6
84
+ 7
85
+ 8
86
+ 9
87
+ 0
88
+ -1
89
+ 0.5
90
+ ]
91
+ }
92
+
93
+ # special quoted
94
+ special:
95
+ {
96
+ true: "true"
97
+ false: "false"
98
+ null: "null"
99
+ one: "1"
100
+ two: "2"
101
+ minus: "-3"
102
+ zero: "0"
103
+ }
104
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3/trail_result.hjson ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ // the following line contains trailing whitespace:
3
+ foo: 0 -- this string starts at 0 and ends at 1, preceding and trailing whitespace is ignored -- 1
4
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3/windowseol_result.hjson ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ ql-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
3
+ js-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
4
+ ml-ascii:
5
+ ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
6
+ newline:
7
+ '''
8
+ 1
9
+ 2
10
+ '''
11
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3_result.hjson ADDED
@@ -0,0 +1 @@
 
 
1
+ a string value // still part of the string
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3_result.json ADDED
@@ -0,0 +1 @@
 
 
1
+ "a string value // still part of the string"
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments3_test.hjson ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ // before
2
+ /* before2 */ a string value // still part of the string
3
+ // after2
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments4_result.hjson ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ a string value // still part of the string
3
+ a string value
4
+ {}
5
+ {}
6
+ {}
7
+ []
8
+ {}
9
+ {
10
+ val5a: 1
11
+ val5b: 2
12
+ }
13
+ []
14
+ []
15
+ []
16
+ []
17
+ [
18
+ 1
19
+ 2
20
+ ]
21
+ 3
22
+ 4
23
+ ]
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments4_result.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "a string value // still part of the string",
3
+ "a string value",
4
+ {},
5
+ {},
6
+ {},
7
+ [],
8
+ {},
9
+ {
10
+ "val5a": 1,
11
+ "val5b": 2
12
+ },
13
+ [],
14
+ [],
15
+ [],
16
+ [],
17
+ [
18
+ 1,
19
+ 2
20
+ ],
21
+ 3,
22
+ 4
23
+ ]
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments4_test.hjson ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // before
2
+ /* before2 */ [ #before1
3
+ /*key1keycm*/a string value // still part of the string
4
+ /* key2keycm */ "a string value" // not part of the string
5
+ // map1before
6
+ /* map1key */
7
+ {}//map2after
8
+ {}
9
+ {
10
+ // map3 inner comment
11
+ }
12
+ []
13
+ // map4before
14
+ /*map4key*/{
15
+ /* map4inner */
16
+ } // map4after
17
+ //map5before
18
+ /*map5key*/ {
19
+ //map5ab4
20
+ val5a: /* map5akey */ 1, // map5aAfter
21
+ val5b: 2 /* map5bb4comma */ , #map5bAfter
22
+ #map5extra
23
+ } /* map5after */
24
+ // vec1bbefore
25
+ /* vec1bkey */
26
+ []//vec1bafter
27
+ []
28
+ [
29
+ // vec3 inner comment
30
+ ]
31
+ // vec4before
32
+ /*vec4key*/[
33
+ /* vec4inner */
34
+ ] // vec4after
35
+ //vec5before
36
+ /*vec5key*/ [
37
+ //vec5ab4
38
+ 1, // vec5aAfter
39
+ 2 /* vec5bb4comma */ , #vec5bAfter
40
+ #vec5extra
41
+ ] /* map5after */
42
+ // before3
43
+
44
+ 3 # after3
45
+ # before4
46
+ /*before4b*/4/*after4*/
47
+ #after4b
48
+ ]
49
+ // after2
50
+
51
+ /* after3 */
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments5_result.hjson ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ key1: a string value // still part of the string
3
+ key2: a string value
4
+ map1: {}
5
+ map2: {}
6
+ map3: {}
7
+ vec1: []
8
+ map4: {}
9
+ map5: {
10
+ val5a: 1
11
+ val5b: 2
12
+ }
13
+ vec1b: []
14
+ vec2: []
15
+ vec3: []
16
+ vec4: []
17
+ vec5: [
18
+ 1
19
+ 2
20
+ ]
21
+ key3: 3
22
+ key4: 4
23
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments5_result.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key1": "a string value // still part of the string",
3
+ "key2": "a string value",
4
+ "map1": {},
5
+ "map2": {},
6
+ "map3": {},
7
+ "vec1": [],
8
+ "map4": {},
9
+ "map5": {
10
+ "val5a": 1,
11
+ "val5b": 2
12
+ },
13
+ "vec1b": [],
14
+ "vec2": [],
15
+ "vec3": [],
16
+ "vec4": [],
17
+ "vec5": [
18
+ 1,
19
+ 2
20
+ ],
21
+ "key3": 3,
22
+ "key4": 4
23
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments5_test.hjson ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // before
2
+ /* before2 */ { #before1
3
+ key1:/*key1keycm*/a string value // still part of the string
4
+ key2: /* key2keycm */ "a string value" // not part of the string
5
+ // map1before
6
+ map1: /* map1key */
7
+ {}//map2after
8
+ map2: {}
9
+ map3: {
10
+ // map3 inner comment
11
+ }
12
+ vec1: []
13
+ // map4before
14
+ map4:/*map4key*/{
15
+ /* map4inner */
16
+ } // map4after
17
+ //map5before
18
+ map5: /*map5key*/ {
19
+ //map5ab4
20
+ val5a: /* map5akey */ 1, // map5aAfter
21
+ val5b: 2 /* map5bb4comma */ , #map5bAfter
22
+ #map5extra
23
+ } /* map5after */
24
+ // vec1bbefore
25
+ vec1b: /* vec1bkey */
26
+ []//vec1bafter
27
+ vec2: []
28
+ vec3: [
29
+ // vec3 inner comment
30
+ ]
31
+ // vec4before
32
+ vec4:/*vec4key*/[
33
+ /* vec4inner */
34
+ ] // vec4after
35
+ //vec5before
36
+ vec5: /*vec5key*/ [
37
+ //vec5ab4
38
+ 1, // vec5aAfter
39
+ 2 /* vec5bb4comma */ , #vec5bAfter
40
+ #vec5extra
41
+ ] /* map5after */
42
+ // before3
43
+
44
+ key3 : 3 # after3
45
+ # before4
46
+ /*before4b*/key4:4/*after4*/
47
+ #after4b
48
+ }
49
+ // after2
50
+
51
+ /* after3 */
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments6_result.hjson ADDED
@@ -0,0 +1 @@
 
 
1
+ 3
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments6_result.json ADDED
@@ -0,0 +1 @@
 
 
1
+ 3
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments6_test.hjson ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ // before
2
+ /* before2 */ 3 // after1
3
+ // after2
4
+
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments7_result.hjson ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ b: {
3
+ sub1: 3
4
+ sub2: 4
5
+ }
6
+ a: 2
7
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments7_result.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "b": {
3
+ "sub1": 3,
4
+ "sub2": 4
5
+ },
6
+ "a": 2
7
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments7_test.hjson ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # comment before
2
+ b: /* key comment */ {
3
+ sub1: 3 # comment after
4
+ sub2: 4 # comment more after
5
+ } # cm after obj
6
+ // Comment B4
7
+ a: 2
8
+ /* Last comment */
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments_result.hjson ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ foo1: This is a string value. # part of the string
3
+ foo2: This is a string value.
4
+ bar1: This is a string value. // part of the string
5
+ bar2: This is a string value.
6
+ foobar1: This is a string value./* part of the string */
7
+ foobar2: This is a string value.
8
+ rem1: "# test"
9
+ rem2: "// test"
10
+ rem3: "/* test */"
11
+ num1: 0
12
+ num2: 0
13
+ num3: 2
14
+ true1: true
15
+ true2: true
16
+ true3: true
17
+ false1: false
18
+ false2: false
19
+ false3: false
20
+ null1: null
21
+ null2: null
22
+ null3: null
23
+ str1: 00 # part of the string
24
+ str2: 00.0 // part of the string
25
+ str3: 02 /* part of the string */
26
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments_result.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "foo1": "This is a string value. # part of the string",
3
+ "foo2": "This is a string value.",
4
+ "bar1": "This is a string value. // part of the string",
5
+ "bar2": "This is a string value.",
6
+ "foobar1": "This is a string value./* part of the string */",
7
+ "foobar2": "This is a string value.",
8
+ "rem1": "# test",
9
+ "rem2": "// test",
10
+ "rem3": "/* test */",
11
+ "num1": 0,
12
+ "num2": 0,
13
+ "num3": 2,
14
+ "true1": true,
15
+ "true2": true,
16
+ "true3": true,
17
+ "false1": false,
18
+ "false2": false,
19
+ "false3": false,
20
+ "null1": null,
21
+ "null2": null,
22
+ "null3": null,
23
+ "str1": "00 # part of the string",
24
+ "str2": "00.0 // part of the string",
25
+ "str3": "02 /* part of the string */"
26
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/comments_test.hjson ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // test
2
+ # all
3
+ // comment
4
+ /*
5
+ styles
6
+ */
7
+ # with lf
8
+
9
+
10
+
11
+ # !
12
+
13
+ {
14
+ # hjson style comment
15
+ foo1: This is a string value. # part of the string
16
+ foo2: "This is a string value." # a comment
17
+
18
+ // js style comment
19
+ bar1: This is a string value. // part of the string
20
+ bar2: "This is a string value." // a comment
21
+
22
+ /* js block style comments */foobar1:/* more */This is a string value./* part of the string */
23
+ /* js block style comments */foobar2:/* more */"This is a string value."/* a comment */
24
+
25
+ rem1: "# test"
26
+ rem2: "// test"
27
+ rem3: "/* test */"
28
+
29
+ num1: 0 # comment
30
+ num2: 0.0 // comment
31
+ num3: 2 /* comment */
32
+
33
+ true1: true # comment
34
+ true2: true // comment
35
+ true3: true /* comment */
36
+
37
+ false1: false # comment
38
+ false2: false // comment
39
+ false3: false /* comment */
40
+
41
+ null1: null # comment
42
+ null2: null // comment
43
+ null3: null /* comment */
44
+
45
+ str1: 00 # part of the string
46
+ str2: 00.0 // part of the string
47
+ str3: 02 /* part of the string */
48
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/empty_result.hjson ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "": empty
3
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/empty_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "": "empty"
3
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/empty_test.hjson ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "": empty
3
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failCharset1_test.hjson ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ # invalid \u char
3
+ char: "\uxxxx"
4
+ }
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON02_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ ["Unclosed array"
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON05_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ ["double extra comma",,]
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON06_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ [ , "<-- missing value"]
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON07_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ ["Comma after the close"],
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON08_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ ["Extra close"]]
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON10_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"Extra value after close": true} "misplaced quoted value"
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON11_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"Illegal expression": 1 + 2}
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON12_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"Illegal invocation": alert()}
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON13_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"Numbers cannot have leading zeroes": 013}
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON14_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"Numbers cannot be hex": 0x14}
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON15_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ ["Illegal backslash escape: \x15"]
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON16_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ [\naked]
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON17_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ ["Illegal backslash escape: \017"]
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON19_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"Missing colon" null}
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON20_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"Double colon":: null}
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON21_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"Comma instead of colon", null}
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON22_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ ["Colon instead of comma": false]
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON23_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ ["Bad value", truth]
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON26_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ ["tab\ character\ in\ string\ "]
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON28_test.json ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ["line\
2
+ break"]
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON29_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ [0e]
tasks/hjson__hjson-go.f3219653.lm_modify__ow32r6t3/environment/source/assets/failJSON30_test.json ADDED
@@ -0,0 +1 @@
 
 
1
+ [0e+]