json-as 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/CHANGELOG.md +417 -0
  2. package/README.md +96 -14
  3. package/assembly/deserialize/index/typedarray.ts +14 -0
  4. package/assembly/deserialize/simd/string.ts +3 -3
  5. package/assembly/deserialize/simple/string.ts +88 -2
  6. package/assembly/deserialize/swar/string.ts +8 -11
  7. package/assembly/index.ts +137 -181
  8. package/assembly/serialize/index/arbitrary.ts +5 -0
  9. package/assembly/serialize/index/typedarray.ts +65 -0
  10. package/assembly/serialize/simd/string.ts +3 -11
  11. package/assembly/serialize/simple/arbitrary.ts +6 -0
  12. package/assembly/serialize/simple/string.ts +3 -11
  13. package/assembly/serialize/swar/string.ts +3 -11
  14. package/assembly/util/swar.ts +49 -0
  15. package/lib/as-bs.ts +88 -69
  16. package/package.json +19 -1
  17. package/transform/lib/index.d.ts +1 -0
  18. package/transform/lib/index.d.ts.map +1 -1
  19. package/transform/lib/index.js +153 -32
  20. package/transform/lib/index.js.map +1 -1
  21. package/transform/lib/linkers/custom.d.ts.map +1 -1
  22. package/transform/lib/linkers/custom.js +7 -3
  23. package/transform/lib/linkers/custom.js.map +1 -1
  24. package/transform/lib/types.d.ts +2 -0
  25. package/transform/lib/types.d.ts.map +1 -1
  26. package/transform/lib/types.js +13 -0
  27. package/transform/lib/types.js.map +1 -1
  28. package/.as-test/coverage/naive/coverage.arbitrary.spec.ts.log.json +0 -5628
  29. package/.as-test/coverage/naive/coverage.array.spec.ts.log.json +0 -5187
  30. package/.as-test/coverage/naive/coverage.bool.spec.ts.log.json +0 -5187
  31. package/.as-test/coverage/naive/coverage.box.spec.ts.log.json +0 -5187
  32. package/.as-test/coverage/naive/coverage.custom.spec.ts.log.json +0 -5187
  33. package/.as-test/coverage/naive/coverage.date.spec.ts.log.json +0 -5187
  34. package/.as-test/coverage/naive/coverage.enum.spec.ts.log.json +0 -5187
  35. package/.as-test/coverage/naive/coverage.float.spec.ts.log.json +0 -5187
  36. package/.as-test/coverage/naive/coverage.generics.spec.ts.log.json +0 -5187
  37. package/.as-test/coverage/naive/coverage.hierarchy.spec.ts.log.json +0 -5187
  38. package/.as-test/coverage/naive/coverage.integer.spec.ts.log.json +0 -5187
  39. package/.as-test/coverage/naive/coverage.map.spec.ts.log.json +0 -5187
  40. package/.as-test/coverage/naive/coverage.namespace.spec.ts.log.json +0 -5187
  41. package/.as-test/coverage/naive/coverage.null.spec.ts.log.json +0 -5187
  42. package/.as-test/coverage/naive/coverage.raw.spec.ts.log.json +0 -5187
  43. package/.as-test/coverage/naive/coverage.resolving.spec.ts.log.json +0 -5628
  44. package/.as-test/coverage/naive/coverage.set.spec.ts.log.json +0 -5187
  45. package/.as-test/coverage/naive/coverage.staticarray.spec.ts.log.json +0 -5187
  46. package/.as-test/coverage/naive/coverage.string.spec.ts.log.json +0 -5187
  47. package/.as-test/coverage/naive/coverage.struct.spec.ts.log.json +0 -5187
  48. package/.as-test/coverage/naive/coverage.types.spec.ts.log.json +0 -5187
  49. package/.as-test/coverage/simd/coverage.arbitrary.spec.ts.log.json +0 -5628
  50. package/.as-test/coverage/simd/coverage.array.spec.ts.log.json +0 -5187
  51. package/.as-test/coverage/simd/coverage.bool.spec.ts.log.json +0 -5187
  52. package/.as-test/coverage/simd/coverage.box.spec.ts.log.json +0 -5187
  53. package/.as-test/coverage/simd/coverage.custom.spec.ts.log.json +0 -5187
  54. package/.as-test/coverage/simd/coverage.date.spec.ts.log.json +0 -5187
  55. package/.as-test/coverage/simd/coverage.enum.spec.ts.log.json +0 -5187
  56. package/.as-test/coverage/simd/coverage.float.spec.ts.log.json +0 -5187
  57. package/.as-test/coverage/simd/coverage.generics.spec.ts.log.json +0 -5187
  58. package/.as-test/coverage/simd/coverage.hierarchy.spec.ts.log.json +0 -5187
  59. package/.as-test/coverage/simd/coverage.integer.spec.ts.log.json +0 -5187
  60. package/.as-test/coverage/simd/coverage.map.spec.ts.log.json +0 -5187
  61. package/.as-test/coverage/simd/coverage.namespace.spec.ts.log.json +0 -5187
  62. package/.as-test/coverage/simd/coverage.null.spec.ts.log.json +0 -5187
  63. package/.as-test/coverage/simd/coverage.raw.spec.ts.log.json +0 -5187
  64. package/.as-test/coverage/simd/coverage.resolving.spec.ts.log.json +0 -5628
  65. package/.as-test/coverage/simd/coverage.set.spec.ts.log.json +0 -5187
  66. package/.as-test/coverage/simd/coverage.staticarray.spec.ts.log.json +0 -5187
  67. package/.as-test/coverage/simd/coverage.string.spec.ts.log.json +0 -5187
  68. package/.as-test/coverage/simd/coverage.struct.spec.ts.log.json +0 -5187
  69. package/.as-test/coverage/simd/coverage.types.spec.ts.log.json +0 -5187
  70. package/.as-test/coverage/swar/coverage.arbitrary.spec.ts.log.json +0 -5628
  71. package/.as-test/coverage/swar/coverage.array.spec.ts.log.json +0 -5187
  72. package/.as-test/coverage/swar/coverage.bool.spec.ts.log.json +0 -5187
  73. package/.as-test/coverage/swar/coverage.box.spec.ts.log.json +0 -5187
  74. package/.as-test/coverage/swar/coverage.custom.spec.ts.log.json +0 -5187
  75. package/.as-test/coverage/swar/coverage.date.spec.ts.log.json +0 -5187
  76. package/.as-test/coverage/swar/coverage.enum.spec.ts.log.json +0 -5187
  77. package/.as-test/coverage/swar/coverage.float.spec.ts.log.json +0 -5187
  78. package/.as-test/coverage/swar/coverage.generics.spec.ts.log.json +0 -5187
  79. package/.as-test/coverage/swar/coverage.hierarchy.spec.ts.log.json +0 -5187
  80. package/.as-test/coverage/swar/coverage.integer.spec.ts.log.json +0 -5187
  81. package/.as-test/coverage/swar/coverage.map.spec.ts.log.json +0 -5187
  82. package/.as-test/coverage/swar/coverage.namespace.spec.ts.log.json +0 -5187
  83. package/.as-test/coverage/swar/coverage.null.spec.ts.log.json +0 -5187
  84. package/.as-test/coverage/swar/coverage.raw.spec.ts.log.json +0 -5187
  85. package/.as-test/coverage/swar/coverage.resolving.spec.ts.log.json +0 -5628
  86. package/.as-test/coverage/swar/coverage.set.spec.ts.log.json +0 -5187
  87. package/.as-test/coverage/swar/coverage.staticarray.spec.ts.log.json +0 -5187
  88. package/.as-test/coverage/swar/coverage.string.spec.ts.log.json +0 -5187
  89. package/.as-test/coverage/swar/coverage.struct.spec.ts.log.json +0 -5187
  90. package/.as-test/coverage/swar/coverage.types.spec.ts.log.json +0 -5187
  91. package/.as-test/logs/naive/run.arbitrary.spec.ts.log.json +0 -943
  92. package/.as-test/logs/naive/run.array.spec.ts.log.json +0 -1053
  93. package/.as-test/logs/naive/run.bool.spec.ts.log.json +0 -257
  94. package/.as-test/logs/naive/run.box.spec.ts.log.json +0 -353
  95. package/.as-test/logs/naive/run.custom.spec.ts.log.json +0 -309
  96. package/.as-test/logs/naive/run.date.spec.ts.log.json +0 -397
  97. package/.as-test/logs/naive/run.enum.spec.ts.log.json +0 -343
  98. package/.as-test/logs/naive/run.float.spec.ts.log.json +0 -453
  99. package/.as-test/logs/naive/run.generics.spec.ts.log.json +0 -393
  100. package/.as-test/logs/naive/run.hierarchy.spec.ts.log.json +0 -325
  101. package/.as-test/logs/naive/run.integer.spec.ts.log.json +0 -373
  102. package/.as-test/logs/naive/run.map.spec.ts.log.json +0 -247
  103. package/.as-test/logs/naive/run.namespace.spec.ts.log.json +0 -361
  104. package/.as-test/logs/naive/run.null.spec.ts.log.json +0 -273
  105. package/.as-test/logs/naive/run.raw.spec.ts.log.json +0 -309
  106. package/.as-test/logs/naive/run.resolving.spec.ts.log.json +0 -273
  107. package/.as-test/logs/naive/run.set.spec.ts.log.json +0 -733
  108. package/.as-test/logs/naive/run.staticarray.spec.ts.log.json +0 -931
  109. package/.as-test/logs/naive/run.string.spec.ts.log.json +0 -2289
  110. package/.as-test/logs/naive/run.struct.spec.ts.log.json +0 -523
  111. package/.as-test/logs/naive/run.types.spec.ts.log.json +0 -273
  112. package/.as-test/logs/naive/test.arbitrary.spec.ts.log.json +0 -943
  113. package/.as-test/logs/naive/test.array.spec.ts.log.json +0 -1053
  114. package/.as-test/logs/naive/test.bool.spec.ts.log.json +0 -257
  115. package/.as-test/logs/naive/test.box.spec.ts.log.json +0 -353
  116. package/.as-test/logs/naive/test.custom.spec.ts.log.json +0 -309
  117. package/.as-test/logs/naive/test.date.spec.ts.log.json +0 -397
  118. package/.as-test/logs/naive/test.enum.spec.ts.log.json +0 -343
  119. package/.as-test/logs/naive/test.float.spec.ts.log.json +0 -453
  120. package/.as-test/logs/naive/test.generics.spec.ts.log.json +0 -393
  121. package/.as-test/logs/naive/test.hierarchy.spec.ts.log.json +0 -325
  122. package/.as-test/logs/naive/test.integer.spec.ts.log.json +0 -373
  123. package/.as-test/logs/naive/test.log.json +0 -2289
  124. package/.as-test/logs/naive/test.map.spec.ts.log.json +0 -247
  125. package/.as-test/logs/naive/test.namespace.spec.ts.log.json +0 -361
  126. package/.as-test/logs/naive/test.null.spec.ts.log.json +0 -273
  127. package/.as-test/logs/naive/test.raw.spec.ts.log.json +0 -309
  128. package/.as-test/logs/naive/test.resolving.spec.ts.log.json +0 -273
  129. package/.as-test/logs/naive/test.set.spec.ts.log.json +0 -733
  130. package/.as-test/logs/naive/test.staticarray.spec.ts.log.json +0 -931
  131. package/.as-test/logs/naive/test.string.spec.ts.log.json +0 -2345
  132. package/.as-test/logs/naive/test.struct.spec.ts.log.json +0 -523
  133. package/.as-test/logs/naive/test.types.spec.ts.log.json +0 -273
  134. package/.as-test/logs/simd/run.arbitrary.spec.ts.log.json +0 -943
  135. package/.as-test/logs/simd/run.array.spec.ts.log.json +0 -1053
  136. package/.as-test/logs/simd/run.bool.spec.ts.log.json +0 -257
  137. package/.as-test/logs/simd/run.box.spec.ts.log.json +0 -353
  138. package/.as-test/logs/simd/run.custom.spec.ts.log.json +0 -309
  139. package/.as-test/logs/simd/run.date.spec.ts.log.json +0 -397
  140. package/.as-test/logs/simd/run.enum.spec.ts.log.json +0 -343
  141. package/.as-test/logs/simd/run.float.spec.ts.log.json +0 -453
  142. package/.as-test/logs/simd/run.generics.spec.ts.log.json +0 -393
  143. package/.as-test/logs/simd/run.hierarchy.spec.ts.log.json +0 -325
  144. package/.as-test/logs/simd/run.integer.spec.ts.log.json +0 -373
  145. package/.as-test/logs/simd/run.map.spec.ts.log.json +0 -247
  146. package/.as-test/logs/simd/run.namespace.spec.ts.log.json +0 -361
  147. package/.as-test/logs/simd/run.null.spec.ts.log.json +0 -273
  148. package/.as-test/logs/simd/run.raw.spec.ts.log.json +0 -309
  149. package/.as-test/logs/simd/run.resolving.spec.ts.log.json +0 -273
  150. package/.as-test/logs/simd/run.set.spec.ts.log.json +0 -733
  151. package/.as-test/logs/simd/run.staticarray.spec.ts.log.json +0 -931
  152. package/.as-test/logs/simd/run.string.spec.ts.log.json +0 -2289
  153. package/.as-test/logs/simd/run.struct.spec.ts.log.json +0 -523
  154. package/.as-test/logs/simd/run.types.spec.ts.log.json +0 -273
  155. package/.as-test/logs/simd/test.arbitrary.spec.ts.log.json +0 -943
  156. package/.as-test/logs/simd/test.array.spec.ts.log.json +0 -1053
  157. package/.as-test/logs/simd/test.bool.spec.ts.log.json +0 -257
  158. package/.as-test/logs/simd/test.box.spec.ts.log.json +0 -353
  159. package/.as-test/logs/simd/test.custom.spec.ts.log.json +0 -309
  160. package/.as-test/logs/simd/test.date.spec.ts.log.json +0 -397
  161. package/.as-test/logs/simd/test.enum.spec.ts.log.json +0 -343
  162. package/.as-test/logs/simd/test.float.spec.ts.log.json +0 -453
  163. package/.as-test/logs/simd/test.generics.spec.ts.log.json +0 -393
  164. package/.as-test/logs/simd/test.hierarchy.spec.ts.log.json +0 -325
  165. package/.as-test/logs/simd/test.integer.spec.ts.log.json +0 -373
  166. package/.as-test/logs/simd/test.log.json +0 -11371
  167. package/.as-test/logs/simd/test.map.spec.ts.log.json +0 -247
  168. package/.as-test/logs/simd/test.namespace.spec.ts.log.json +0 -361
  169. package/.as-test/logs/simd/test.null.spec.ts.log.json +0 -273
  170. package/.as-test/logs/simd/test.raw.spec.ts.log.json +0 -309
  171. package/.as-test/logs/simd/test.resolving.spec.ts.log.json +0 -273
  172. package/.as-test/logs/simd/test.set.spec.ts.log.json +0 -733
  173. package/.as-test/logs/simd/test.staticarray.spec.ts.log.json +0 -931
  174. package/.as-test/logs/simd/test.string.spec.ts.log.json +0 -2345
  175. package/.as-test/logs/simd/test.struct.spec.ts.log.json +0 -523
  176. package/.as-test/logs/simd/test.types.spec.ts.log.json +0 -273
  177. package/.as-test/logs/swar/run.arbitrary.spec.ts.log.json +0 -943
  178. package/.as-test/logs/swar/run.array.spec.ts.log.json +0 -1053
  179. package/.as-test/logs/swar/run.bool.spec.ts.log.json +0 -257
  180. package/.as-test/logs/swar/run.box.spec.ts.log.json +0 -353
  181. package/.as-test/logs/swar/run.custom.spec.ts.log.json +0 -309
  182. package/.as-test/logs/swar/run.date.spec.ts.log.json +0 -397
  183. package/.as-test/logs/swar/run.enum.spec.ts.log.json +0 -343
  184. package/.as-test/logs/swar/run.float.spec.ts.log.json +0 -453
  185. package/.as-test/logs/swar/run.generics.spec.ts.log.json +0 -393
  186. package/.as-test/logs/swar/run.hierarchy.spec.ts.log.json +0 -325
  187. package/.as-test/logs/swar/run.integer.spec.ts.log.json +0 -373
  188. package/.as-test/logs/swar/run.map.spec.ts.log.json +0 -247
  189. package/.as-test/logs/swar/run.namespace.spec.ts.log.json +0 -361
  190. package/.as-test/logs/swar/run.null.spec.ts.log.json +0 -273
  191. package/.as-test/logs/swar/run.raw.spec.ts.log.json +0 -309
  192. package/.as-test/logs/swar/run.resolving.spec.ts.log.json +0 -273
  193. package/.as-test/logs/swar/run.set.spec.ts.log.json +0 -733
  194. package/.as-test/logs/swar/run.staticarray.spec.ts.log.json +0 -931
  195. package/.as-test/logs/swar/run.string.spec.ts.log.json +0 -2289
  196. package/.as-test/logs/swar/run.struct.spec.ts.log.json +0 -523
  197. package/.as-test/logs/swar/run.types.spec.ts.log.json +0 -273
  198. package/.as-test/logs/swar/test.arbitrary.spec.ts.log.json +0 -943
  199. package/.as-test/logs/swar/test.array.spec.ts.log.json +0 -1053
  200. package/.as-test/logs/swar/test.bool.spec.ts.log.json +0 -257
  201. package/.as-test/logs/swar/test.box.spec.ts.log.json +0 -353
  202. package/.as-test/logs/swar/test.custom.spec.ts.log.json +0 -309
  203. package/.as-test/logs/swar/test.date.spec.ts.log.json +0 -397
  204. package/.as-test/logs/swar/test.enum.spec.ts.log.json +0 -343
  205. package/.as-test/logs/swar/test.float.spec.ts.log.json +0 -453
  206. package/.as-test/logs/swar/test.generics.spec.ts.log.json +0 -393
  207. package/.as-test/logs/swar/test.hierarchy.spec.ts.log.json +0 -325
  208. package/.as-test/logs/swar/test.integer.spec.ts.log.json +0 -373
  209. package/.as-test/logs/swar/test.log.json +0 -11371
  210. package/.as-test/logs/swar/test.map.spec.ts.log.json +0 -247
  211. package/.as-test/logs/swar/test.namespace.spec.ts.log.json +0 -361
  212. package/.as-test/logs/swar/test.null.spec.ts.log.json +0 -273
  213. package/.as-test/logs/swar/test.raw.spec.ts.log.json +0 -309
  214. package/.as-test/logs/swar/test.resolving.spec.ts.log.json +0 -273
  215. package/.as-test/logs/swar/test.set.spec.ts.log.json +0 -733
  216. package/.as-test/logs/swar/test.staticarray.spec.ts.log.json +0 -931
  217. package/.as-test/logs/swar/test.string.spec.ts.log.json +0 -2345
  218. package/.as-test/logs/swar/test.struct.spec.ts.log.json +0 -523
  219. package/.as-test/logs/swar/test.types.spec.ts.log.json +0 -273
  220. package/.as-test/logs/test.arbitrary.spec.ts.log.json +0 -943
  221. package/.as-test/logs/test.array.spec.ts.log.json +0 -1053
  222. package/.as-test/logs/test.bool.spec.ts.log.json +0 -257
  223. package/.as-test/logs/test.box.spec.ts.log.json +0 -353
  224. package/.as-test/logs/test.custom.spec.ts.log.json +0 -309
  225. package/.as-test/logs/test.date.spec.ts.log.json +0 -397
  226. package/.as-test/logs/test.enum.spec.ts.log.json +0 -343
  227. package/.as-test/logs/test.float.spec.ts.log.json +0 -453
  228. package/.as-test/logs/test.generics.spec.ts.log.json +0 -393
  229. package/.as-test/logs/test.hierarchy.spec.ts.log.json +0 -325
  230. package/.as-test/logs/test.integer.spec.ts.log.json +0 -373
  231. package/.as-test/logs/test.log.json +0 -11371
  232. package/.as-test/logs/test.map.spec.ts.log.json +0 -247
  233. package/.as-test/logs/test.namespace.spec.ts.log.json +0 -361
  234. package/.as-test/logs/test.null.spec.ts.log.json +0 -273
  235. package/.as-test/logs/test.raw.spec.ts.log.json +0 -309
  236. package/.as-test/logs/test.resolving.spec.ts.log.json +0 -273
  237. package/.as-test/logs/test.set.spec.ts.log.json +0 -733
  238. package/.as-test/logs/test.staticarray.spec.ts.log.json +0 -931
  239. package/.as-test/logs/test.string.spec.ts.log.json +0 -2289
  240. package/.as-test/logs/test.struct.spec.ts.log.json +0 -523
  241. package/.as-test/logs/test.types.spec.ts.log.json +0 -273
  242. package/.as-test/runners/default.bindings.js +0 -68
  243. package/.as-test/runners/default.wasi.js +0 -38
  244. package/ARCHITECTURE.md +0 -323
  245. package/CONTRIBUTING.md +0 -244
  246. package/TODO +0 -1
  247. package/as-test.config.json +0 -40
  248. package/assembly/test.ts +0 -24
  249. package/eslint.config.js +0 -68
  250. package/lib/tsconfig.json +0 -8
  251. package/test.ts +0 -99
  252. package/tools/assemblyscript-eslint-local.js +0 -6
  253. package/tools/assemblyscript-eslint.js +0 -53
  254. package/tools/assemblyscript-prettier-plugin.js +0 -33
  255. package/tools/replacer.js +0 -63
  256. package/transform/tsconfig.json +0 -35
@@ -1,2289 +0,0 @@
1
- [
2
- {
3
- "file": "assembly/__tests__/string.spec.ts",
4
- "suites": [
5
- {
6
- "file": "string.spec.ts",
7
- "order": 6,
8
- "time": {
9
- "start": 31480514.665161,
10
- "end": 31480516.482409
11
- },
12
- "description": "Should serialize strings - Basic",
13
- "depth": 0,
14
- "suites": [],
15
- "tests": [
16
- {
17
- "order": 0,
18
- "type": "",
19
- "verdict": "ok",
20
- "left": "\"abcdefg\"",
21
- "right": "\"abcdefg\"",
22
- "instr": "toBe",
23
- "message": "",
24
- "location": "5:3"
25
- },
26
- {
27
- "order": 1,
28
- "type": "",
29
- "verdict": "ok",
30
- "left": "\"st\\\"ring\\\" w\\\"\\\"ith quotes\\\"\"",
31
- "right": "\"st\\\"ring\\\" w\\\"\\\"ith quotes\\\"\"",
32
- "instr": "toBe",
33
- "message": "",
34
- "location": "6:3"
35
- },
36
- {
37
- "order": 2,
38
- "type": "",
39
- "verdict": "ok",
40
- "left": "\"string \\\"with random spa\\nces and \\nnewlines\\n\\n\\n\"",
41
- "right": "\"string \\\"with random spa\\nces and \\nnewlines\\n\\n\\n\"",
42
- "instr": "toBe",
43
- "message": "",
44
- "location": "7:3"
45
- },
46
- {
47
- "order": 3,
48
- "type": "",
49
- "verdict": "ok",
50
- "left": "\"string with colon : comma , brace [ ] bracket { } and quote \\\" and other quote \\\\\\\"\"",
51
- "right": "\"string with colon : comma , brace [ ] bracket { } and quote \\\" and other quote \\\\\\\"\"",
52
- "instr": "toBe",
53
- "message": "",
54
- "location": "8:3"
55
- },
56
- {
57
- "order": 4,
58
- "type": "",
59
- "verdict": "ok",
60
- "left": "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u000f\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f\"",
61
- "right": "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u000f\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f\"",
62
- "instr": "toBe",
63
- "message": "",
64
- "location": "9:3"
65
- },
66
- {
67
- "order": 5,
68
- "type": "",
69
- "verdict": "ok",
70
- "left": "\"abcdYZ12345890sdfw\\\"vie91kfESDFOK12i9i12dsf./?\"",
71
- "right": "\"abcdYZ12345890sdfw\\\"vie91kfESDFOK12i9i12dsf./?\"",
72
- "instr": "toBe",
73
- "message": "",
74
- "location": "10:3"
75
- }
76
- ],
77
- "logs": [],
78
- "kind": "describe",
79
- "verdict": "ok"
80
- },
81
- {
82
- "file": "string.spec.ts",
83
- "order": 8,
84
- "time": {
85
- "start": 31480516.560976,
86
- "end": 31480517.4827
87
- },
88
- "description": "Should serialize strings - Empty and whitespace",
89
- "depth": 0,
90
- "suites": [],
91
- "tests": [
92
- {
93
- "order": 0,
94
- "type": "",
95
- "verdict": "ok",
96
- "left": "\"\"",
97
- "right": "\"\"",
98
- "instr": "toBe",
99
- "message": "",
100
- "location": "14:3"
101
- },
102
- {
103
- "order": 1,
104
- "type": "",
105
- "verdict": "ok",
106
- "left": "\" \"",
107
- "right": "\" \"",
108
- "instr": "toBe",
109
- "message": "",
110
- "location": "15:3"
111
- },
112
- {
113
- "order": 2,
114
- "type": "",
115
- "verdict": "ok",
116
- "left": "\" \"",
117
- "right": "\" \"",
118
- "instr": "toBe",
119
- "message": "",
120
- "location": "16:3"
121
- },
122
- {
123
- "order": 3,
124
- "type": "",
125
- "verdict": "ok",
126
- "left": "\"\\t\"",
127
- "right": "\"\\t\"",
128
- "instr": "toBe",
129
- "message": "",
130
- "location": "17:3"
131
- },
132
- {
133
- "order": 4,
134
- "type": "",
135
- "verdict": "ok",
136
- "left": "\"\\n\"",
137
- "right": "\"\\n\"",
138
- "instr": "toBe",
139
- "message": "",
140
- "location": "18:3"
141
- },
142
- {
143
- "order": 5,
144
- "type": "",
145
- "verdict": "ok",
146
- "left": "\"\\r\"",
147
- "right": "\"\\r\"",
148
- "instr": "toBe",
149
- "message": "",
150
- "location": "19:3"
151
- },
152
- {
153
- "order": 6,
154
- "type": "",
155
- "verdict": "ok",
156
- "left": "\"\\r\\n\"",
157
- "right": "\"\\r\\n\"",
158
- "instr": "toBe",
159
- "message": "",
160
- "location": "20:3"
161
- },
162
- {
163
- "order": 7,
164
- "type": "",
165
- "verdict": "ok",
166
- "left": "\" \\t\\n\\r \"",
167
- "right": "\" \\t\\n\\r \"",
168
- "instr": "toBe",
169
- "message": "",
170
- "location": "21:3"
171
- }
172
- ],
173
- "logs": [],
174
- "kind": "describe",
175
- "verdict": "ok"
176
- },
177
- {
178
- "file": "string.spec.ts",
179
- "order": 7,
180
- "time": {
181
- "start": 31480517.532326,
182
- "end": 31480518.246281
183
- },
184
- "description": "Should serialize strings - Special characters",
185
- "depth": 0,
186
- "suites": [],
187
- "tests": [
188
- {
189
- "order": 0,
190
- "type": "",
191
- "verdict": "ok",
192
- "left": "\"\\\"\"",
193
- "right": "\"\\\"\"",
194
- "instr": "toBe",
195
- "message": "",
196
- "location": "25:3"
197
- },
198
- {
199
- "order": 1,
200
- "type": "",
201
- "verdict": "ok",
202
- "left": "\"\\\\\"",
203
- "right": "\"\\\\\"",
204
- "instr": "toBe",
205
- "message": "",
206
- "location": "26:3"
207
- },
208
- {
209
- "order": 2,
210
- "type": "",
211
- "verdict": "ok",
212
- "left": "\"\\\"\\\\\"",
213
- "right": "\"\\\"\\\\\"",
214
- "instr": "toBe",
215
- "message": "",
216
- "location": "27:3"
217
- },
218
- {
219
- "order": 3,
220
- "type": "",
221
- "verdict": "ok",
222
- "left": "\"\\\\\\\"\"",
223
- "right": "\"\\\\\\\"\"",
224
- "instr": "toBe",
225
- "message": "",
226
- "location": "28:3"
227
- },
228
- {
229
- "order": 4,
230
- "type": "",
231
- "verdict": "ok",
232
- "left": "\"/\"",
233
- "right": "\"/\"",
234
- "instr": "toBe",
235
- "message": "",
236
- "location": "29:3"
237
- },
238
- {
239
- "order": 5,
240
- "type": "",
241
- "verdict": "ok",
242
- "left": "\"\\b\"",
243
- "right": "\"\\b\"",
244
- "instr": "toBe",
245
- "message": "",
246
- "location": "30:3"
247
- },
248
- {
249
- "order": 6,
250
- "type": "",
251
- "verdict": "ok",
252
- "left": "\"\\f\"",
253
- "right": "\"\\f\"",
254
- "instr": "toBe",
255
- "message": "",
256
- "location": "31:3"
257
- }
258
- ],
259
- "logs": [],
260
- "kind": "describe",
261
- "verdict": "ok"
262
- },
263
- {
264
- "file": "string.spec.ts",
265
- "order": 8,
266
- "time": {
267
- "start": 31480518.308305,
268
- "end": 31480519.135896
269
- },
270
- "description": "Should serialize strings - Control characters",
271
- "depth": 0,
272
- "suites": [],
273
- "tests": [
274
- {
275
- "order": 0,
276
- "type": "",
277
- "verdict": "ok",
278
- "left": "\"\\u0000\"",
279
- "right": "\"\\u0000\"",
280
- "instr": "toBe",
281
- "message": "",
282
- "location": "35:3"
283
- },
284
- {
285
- "order": 1,
286
- "type": "",
287
- "verdict": "ok",
288
- "left": "\"\\u0001\"",
289
- "right": "\"\\u0001\"",
290
- "instr": "toBe",
291
- "message": "",
292
- "location": "36:3"
293
- },
294
- {
295
- "order": 2,
296
- "type": "",
297
- "verdict": "ok",
298
- "left": "\"\\u001f\"",
299
- "right": "\"\\u001f\"",
300
- "instr": "toBe",
301
- "message": "",
302
- "location": "37:3"
303
- },
304
- {
305
- "order": 3,
306
- "type": "",
307
- "verdict": "ok",
308
- "left": "\"\\b\"",
309
- "right": "\"\\b\"",
310
- "instr": "toBe",
311
- "message": "",
312
- "location": "38:3"
313
- },
314
- {
315
- "order": 4,
316
- "type": "",
317
- "verdict": "ok",
318
- "left": "\"\\t\"",
319
- "right": "\"\\t\"",
320
- "instr": "toBe",
321
- "message": "",
322
- "location": "39:3"
323
- },
324
- {
325
- "order": 5,
326
- "type": "",
327
- "verdict": "ok",
328
- "left": "\"\\n\"",
329
- "right": "\"\\n\"",
330
- "instr": "toBe",
331
- "message": "",
332
- "location": "40:3"
333
- },
334
- {
335
- "order": 6,
336
- "type": "",
337
- "verdict": "ok",
338
- "left": "\"\\f\"",
339
- "right": "\"\\f\"",
340
- "instr": "toBe",
341
- "message": "",
342
- "location": "41:3"
343
- },
344
- {
345
- "order": 7,
346
- "type": "",
347
- "verdict": "ok",
348
- "left": "\"\\r\"",
349
- "right": "\"\\r\"",
350
- "instr": "toBe",
351
- "message": "",
352
- "location": "42:3"
353
- }
354
- ],
355
- "logs": [],
356
- "kind": "describe",
357
- "verdict": "ok"
358
- },
359
- {
360
- "file": "string.spec.ts",
361
- "order": 5,
362
- "time": {
363
- "start": 31480519.18091,
364
- "end": 31480519.633841
365
- },
366
- "description": "Should serialize strings - Boundary cases",
367
- "depth": 0,
368
- "suites": [],
369
- "tests": [
370
- {
371
- "order": 0,
372
- "type": "",
373
- "verdict": "ok",
374
- "left": "\"\\u001f\"",
375
- "right": "\"\\u001f\"",
376
- "instr": "toBe",
377
- "message": "",
378
- "location": "46:3"
379
- },
380
- {
381
- "order": 1,
382
- "type": "",
383
- "verdict": "ok",
384
- "left": "\" \"",
385
- "right": "\" \"",
386
- "instr": "toBe",
387
- "message": "",
388
- "location": "47:3"
389
- },
390
- {
391
- "order": 2,
392
- "type": "",
393
- "verdict": "ok",
394
- "left": "\"!\"",
395
- "right": "\"!\"",
396
- "instr": "toBe",
397
- "message": "",
398
- "location": "48:3"
399
- },
400
- {
401
- "order": 3,
402
- "type": "",
403
- "verdict": "ok",
404
- "left": "\"~\"",
405
- "right": "\"~\"",
406
- "instr": "toBe",
407
- "message": "",
408
- "location": "49:3"
409
- },
410
- {
411
- "order": 4,
412
- "type": "",
413
- "verdict": "ok",
414
- "left": "\"\"",
415
- "right": "\"\"",
416
- "instr": "toBe",
417
- "message": "",
418
- "location": "50:3"
419
- }
420
- ],
421
- "logs": [],
422
- "kind": "describe",
423
- "verdict": "ok"
424
- },
425
- {
426
- "file": "string.spec.ts",
427
- "order": 6,
428
- "time": {
429
- "start": 31480519.680024,
430
- "end": 31480520.379821
431
- },
432
- "description": "Should serialize strings - Mixed escapes",
433
- "depth": 0,
434
- "suites": [],
435
- "tests": [
436
- {
437
- "order": 0,
438
- "type": "",
439
- "verdict": "ok",
440
- "left": "\"abc\\\"def\\\\ghi\"",
441
- "right": "\"abc\\\"def\\\\ghi\"",
442
- "instr": "toBe",
443
- "message": "",
444
- "location": "54:3"
445
- },
446
- {
447
- "order": 1,
448
- "type": "",
449
- "verdict": "ok",
450
- "left": "\"line1\\nline2\\rline3\"",
451
- "right": "\"line1\\nline2\\rline3\"",
452
- "instr": "toBe",
453
- "message": "",
454
- "location": "55:3"
455
- },
456
- {
457
- "order": 2,
458
- "type": "",
459
- "verdict": "ok",
460
- "left": "\"\\t\\t\\t\"",
461
- "right": "\"\\t\\t\\t\"",
462
- "instr": "toBe",
463
- "message": "",
464
- "location": "56:3"
465
- },
466
- {
467
- "order": 3,
468
- "type": "",
469
- "verdict": "ok",
470
- "left": "\"\\\"\\\"\\\"\"",
471
- "right": "\"\\\"\\\"\\\"\"",
472
- "instr": "toBe",
473
- "message": "",
474
- "location": "57:3"
475
- },
476
- {
477
- "order": 4,
478
- "type": "",
479
- "verdict": "ok",
480
- "left": "\"\\\\\\\\\\\\\"",
481
- "right": "\"\\\\\\\\\\\\\"",
482
- "instr": "toBe",
483
- "message": "",
484
- "location": "58:3"
485
- },
486
- {
487
- "order": 5,
488
- "type": "",
489
- "verdict": "ok",
490
- "left": "\"a\\nb\\tc\\\"d\\\\e\"",
491
- "right": "\"a\\nb\\tc\\\"d\\\\e\"",
492
- "instr": "toBe",
493
- "message": "",
494
- "location": "59:3"
495
- }
496
- ],
497
- "logs": [],
498
- "kind": "describe",
499
- "verdict": "ok"
500
- },
501
- {
502
- "file": "string.spec.ts",
503
- "order": 6,
504
- "time": {
505
- "start": 31480520.420591,
506
- "end": 31480521.072733
507
- },
508
- "description": "Should serialize strings - Unicode",
509
- "depth": 0,
510
- "suites": [],
511
- "tests": [
512
- {
513
- "order": 0,
514
- "type": "",
515
- "verdict": "ok",
516
- "left": "\"hello 世界\"",
517
- "right": "\"hello 世界\"",
518
- "instr": "toBe",
519
- "message": "",
520
- "location": "63:3"
521
- },
522
- {
523
- "order": 1,
524
- "type": "",
525
- "verdict": "ok",
526
- "left": "\"café\"",
527
- "right": "\"café\"",
528
- "instr": "toBe",
529
- "message": "",
530
- "location": "64:3"
531
- },
532
- {
533
- "order": 2,
534
- "type": "",
535
- "verdict": "ok",
536
- "left": "\"Ḽơᶉëᶆ ȋṕšᶙṁ\"",
537
- "right": "\"Ḽơᶉëᶆ ȋṕšᶙṁ\"",
538
- "instr": "toBe",
539
- "message": "",
540
- "location": "65:3"
541
- },
542
- {
543
- "order": 3,
544
- "type": "",
545
- "verdict": "ok",
546
- "left": "\"😀🎉😀🎉\"",
547
- "right": "\"😀🎉😀🎉\"",
548
- "instr": "toBe",
549
- "message": "",
550
- "location": "66:3"
551
- },
552
- {
553
- "order": 4,
554
- "type": "",
555
- "verdict": "ok",
556
- "left": "\"مرحبا\"",
557
- "right": "\"مرحبا\"",
558
- "instr": "toBe",
559
- "message": "",
560
- "location": "67:3"
561
- },
562
- {
563
- "order": 5,
564
- "type": "",
565
- "verdict": "ok",
566
- "left": "\"Здравствуйте\"",
567
- "right": "\"Здравствуйте\"",
568
- "instr": "toBe",
569
- "message": "",
570
- "location": "68:3"
571
- }
572
- ],
573
- "logs": [],
574
- "kind": "describe",
575
- "verdict": "ok"
576
- },
577
- {
578
- "file": "string.spec.ts",
579
- "order": 6,
580
- "time": {
581
- "start": 31480521.11234,
582
- "end": 31480521.896486
583
- },
584
- "description": "Should serialize strings - Surrogates",
585
- "depth": 0,
586
- "suites": [],
587
- "tests": [
588
- {
589
- "order": 0,
590
- "type": "",
591
- "verdict": "ok",
592
- "left": "\"😀😀😀\"",
593
- "right": "\"😀😀😀\"",
594
- "instr": "toBe",
595
- "message": "",
596
- "location": "73:3"
597
- },
598
- {
599
- "order": 1,
600
- "type": "",
601
- "verdict": "ok",
602
- "left": "\"𝄞𝄞𝄞\"",
603
- "right": "\"𝄞𝄞𝄞\"",
604
- "instr": "toBe",
605
- "message": "",
606
- "location": "74:3"
607
- },
608
- {
609
- "order": 2,
610
- "type": "",
611
- "verdict": "ok",
612
- "left": "\"\\ud800\\ud800\\ud800\\ud800\\ud800\"",
613
- "right": "\"\\ud800\\ud800\\ud800\\ud800\\ud800\"",
614
- "instr": "toBe",
615
- "message": "",
616
- "location": "77:3"
617
- },
618
- {
619
- "order": 3,
620
- "type": "",
621
- "verdict": "ok",
622
- "left": "\"\\udc00\\udc00\\udc00\\udc00\\udc00\"",
623
- "right": "\"\\udc00\\udc00\\udc00\\udc00\\udc00\"",
624
- "instr": "toBe",
625
- "message": "",
626
- "location": "78:3"
627
- },
628
- {
629
- "order": 4,
630
- "type": "",
631
- "verdict": "ok",
632
- "left": "\"\\ud800abc\\ud800abc\\ud800\"",
633
- "right": "\"\\ud800abc\\ud800abc\\ud800\"",
634
- "instr": "toBe",
635
- "message": "",
636
- "location": "79:3"
637
- },
638
- {
639
- "order": 5,
640
- "type": "",
641
- "verdict": "ok",
642
- "left": "\"abc\\udc00abc\\udc00\\udc00\"",
643
- "right": "\"abc\\udc00abc\\udc00\\udc00\"",
644
- "instr": "toBe",
645
- "message": "",
646
- "location": "80:3"
647
- }
648
- ],
649
- "logs": [],
650
- "kind": "describe",
651
- "verdict": "ok"
652
- },
653
- {
654
- "file": "string.spec.ts",
655
- "order": 3,
656
- "time": {
657
- "start": 31480521.93837,
658
- "end": 31480530.6695
659
- },
660
- "description": "Should serialize strings - Long strings",
661
- "depth": 0,
662
- "suites": [],
663
- "tests": [
664
- {
665
- "order": 0,
666
- "type": "",
667
- "verdict": "ok",
668
- "left": "\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"",
669
- "right": "\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"",
670
- "instr": "toBe",
671
- "message": "",
672
- "location": "85:3"
673
- },
674
- {
675
- "order": 1,
676
- "type": "",
677
- "verdict": "ok",
678
- "left": "\"abc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghi\"",
679
- "right": "\"abc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghiabc\\\"def\\\\ghi\"",
680
- "instr": "toBe",
681
- "message": "",
682
- "location": "89:3"
683
- },
684
- {
685
- "order": 2,
686
- "type": "",
687
- "verdict": "ok",
688
- "left": "\"hello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\t\"",
689
- "right": "\"hello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\thello\\nworld\\t\"",
690
- "instr": "toBe",
691
- "message": "",
692
- "location": "93:3"
693
- }
694
- ],
695
- "logs": [],
696
- "kind": "describe",
697
- "verdict": "ok"
698
- },
699
- {
700
- "file": "string.spec.ts",
701
- "order": 5,
702
- "time": {
703
- "start": 31480530.708604,
704
- "end": 31480531.327079
705
- },
706
- "description": "Should serialize strings - Edge cases with multiple escapes",
707
- "depth": 0,
708
- "suites": [],
709
- "tests": [
710
- {
711
- "order": 0,
712
- "type": "",
713
- "verdict": "ok",
714
- "left": "\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\"",
715
- "right": "\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\"",
716
- "instr": "toBe",
717
- "message": "",
718
- "location": "97:3"
719
- },
720
- {
721
- "order": 1,
722
- "type": "",
723
- "verdict": "ok",
724
- "left": "\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"",
725
- "right": "\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"",
726
- "instr": "toBe",
727
- "message": "",
728
- "location": "98:3"
729
- },
730
- {
731
- "order": 2,
732
- "type": "",
733
- "verdict": "ok",
734
- "left": "\"\\n\\n\\n\\n\\n\"",
735
- "right": "\"\\n\\n\\n\\n\\n\"",
736
- "instr": "toBe",
737
- "message": "",
738
- "location": "99:3"
739
- },
740
- {
741
- "order": 3,
742
- "type": "",
743
- "verdict": "ok",
744
- "left": "\"\\t\\t\\t\\t\\t\"",
745
- "right": "\"\\t\\t\\t\\t\\t\"",
746
- "instr": "toBe",
747
- "message": "",
748
- "location": "100:3"
749
- },
750
- {
751
- "order": 4,
752
- "type": "",
753
- "verdict": "ok",
754
- "left": "\"\\b\\f\\n\\r\\t\"",
755
- "right": "\"\\b\\f\\n\\r\\t\"",
756
- "instr": "toBe",
757
- "message": "",
758
- "location": "101:3"
759
- }
760
- ],
761
- "logs": [],
762
- "kind": "describe",
763
- "verdict": "ok"
764
- },
765
- {
766
- "file": "string.spec.ts",
767
- "order": 5,
768
- "time": {
769
- "start": 31480531.362728,
770
- "end": 31480531.903629
771
- },
772
- "description": "Should serialize strings - Strings with numbers and symbols",
773
- "depth": 0,
774
- "suites": [],
775
- "tests": [
776
- {
777
- "order": 0,
778
- "type": "",
779
- "verdict": "ok",
780
- "left": "\"123456789\"",
781
- "right": "\"123456789\"",
782
- "instr": "toBe",
783
- "message": "",
784
- "location": "105:3"
785
- },
786
- {
787
- "order": 1,
788
- "type": "",
789
- "verdict": "ok",
790
- "left": "\"!@#$%^&*()\"",
791
- "right": "\"!@#$%^&*()\"",
792
- "instr": "toBe",
793
- "message": "",
794
- "location": "106:3"
795
- },
796
- {
797
- "order": 2,
798
- "type": "",
799
- "verdict": "ok",
800
- "left": "\"-_=+[{]};:',<.>/?\"",
801
- "right": "\"-_=+[{]};:',<.>/?\"",
802
- "instr": "toBe",
803
- "message": "",
804
- "location": "107:3"
805
- },
806
- {
807
- "order": 3,
808
- "type": "",
809
- "verdict": "ok",
810
- "left": "\"test@example.com\"",
811
- "right": "\"test@example.com\"",
812
- "instr": "toBe",
813
- "message": "",
814
- "location": "108:3"
815
- },
816
- {
817
- "order": 4,
818
- "type": "",
819
- "verdict": "ok",
820
- "left": "\"http://example.com/path?query=value\"",
821
- "right": "\"http://example.com/path?query=value\"",
822
- "instr": "toBe",
823
- "message": "",
824
- "location": "109:3"
825
- }
826
- ],
827
- "logs": [],
828
- "kind": "describe",
829
- "verdict": "ok"
830
- },
831
- {
832
- "file": "string.spec.ts",
833
- "order": 32,
834
- "time": {
835
- "start": 31480531.934676,
836
- "end": 31480532.370076
837
- },
838
- "description": "Should serialize strings - All control characters",
839
- "depth": 0,
840
- "suites": [],
841
- "tests": [
842
- {
843
- "order": 0,
844
- "type": "",
845
- "verdict": "ok",
846
- "left": true,
847
- "right": true,
848
- "instr": "toBe",
849
- "message": "",
850
- "location": "117:5"
851
- },
852
- {
853
- "order": 1,
854
- "type": "",
855
- "verdict": "ok",
856
- "left": true,
857
- "right": true,
858
- "instr": "toBe",
859
- "message": "",
860
- "location": "117:5"
861
- },
862
- {
863
- "order": 2,
864
- "type": "",
865
- "verdict": "ok",
866
- "left": true,
867
- "right": true,
868
- "instr": "toBe",
869
- "message": "",
870
- "location": "117:5"
871
- },
872
- {
873
- "order": 3,
874
- "type": "",
875
- "verdict": "ok",
876
- "left": true,
877
- "right": true,
878
- "instr": "toBe",
879
- "message": "",
880
- "location": "117:5"
881
- },
882
- {
883
- "order": 4,
884
- "type": "",
885
- "verdict": "ok",
886
- "left": true,
887
- "right": true,
888
- "instr": "toBe",
889
- "message": "",
890
- "location": "117:5"
891
- },
892
- {
893
- "order": 5,
894
- "type": "",
895
- "verdict": "ok",
896
- "left": true,
897
- "right": true,
898
- "instr": "toBe",
899
- "message": "",
900
- "location": "117:5"
901
- },
902
- {
903
- "order": 6,
904
- "type": "",
905
- "verdict": "ok",
906
- "left": true,
907
- "right": true,
908
- "instr": "toBe",
909
- "message": "",
910
- "location": "117:5"
911
- },
912
- {
913
- "order": 7,
914
- "type": "",
915
- "verdict": "ok",
916
- "left": true,
917
- "right": true,
918
- "instr": "toBe",
919
- "message": "",
920
- "location": "117:5"
921
- },
922
- {
923
- "order": 8,
924
- "type": "",
925
- "verdict": "ok",
926
- "left": true,
927
- "right": true,
928
- "instr": "toBe",
929
- "message": "",
930
- "location": "117:5"
931
- },
932
- {
933
- "order": 9,
934
- "type": "",
935
- "verdict": "ok",
936
- "left": true,
937
- "right": true,
938
- "instr": "toBe",
939
- "message": "",
940
- "location": "117:5"
941
- },
942
- {
943
- "order": 10,
944
- "type": "",
945
- "verdict": "ok",
946
- "left": true,
947
- "right": true,
948
- "instr": "toBe",
949
- "message": "",
950
- "location": "117:5"
951
- },
952
- {
953
- "order": 11,
954
- "type": "",
955
- "verdict": "ok",
956
- "left": true,
957
- "right": true,
958
- "instr": "toBe",
959
- "message": "",
960
- "location": "117:5"
961
- },
962
- {
963
- "order": 12,
964
- "type": "",
965
- "verdict": "ok",
966
- "left": true,
967
- "right": true,
968
- "instr": "toBe",
969
- "message": "",
970
- "location": "117:5"
971
- },
972
- {
973
- "order": 13,
974
- "type": "",
975
- "verdict": "ok",
976
- "left": true,
977
- "right": true,
978
- "instr": "toBe",
979
- "message": "",
980
- "location": "117:5"
981
- },
982
- {
983
- "order": 14,
984
- "type": "",
985
- "verdict": "ok",
986
- "left": true,
987
- "right": true,
988
- "instr": "toBe",
989
- "message": "",
990
- "location": "117:5"
991
- },
992
- {
993
- "order": 15,
994
- "type": "",
995
- "verdict": "ok",
996
- "left": true,
997
- "right": true,
998
- "instr": "toBe",
999
- "message": "",
1000
- "location": "117:5"
1001
- },
1002
- {
1003
- "order": 16,
1004
- "type": "",
1005
- "verdict": "ok",
1006
- "left": true,
1007
- "right": true,
1008
- "instr": "toBe",
1009
- "message": "",
1010
- "location": "117:5"
1011
- },
1012
- {
1013
- "order": 17,
1014
- "type": "",
1015
- "verdict": "ok",
1016
- "left": true,
1017
- "right": true,
1018
- "instr": "toBe",
1019
- "message": "",
1020
- "location": "117:5"
1021
- },
1022
- {
1023
- "order": 18,
1024
- "type": "",
1025
- "verdict": "ok",
1026
- "left": true,
1027
- "right": true,
1028
- "instr": "toBe",
1029
- "message": "",
1030
- "location": "117:5"
1031
- },
1032
- {
1033
- "order": 19,
1034
- "type": "",
1035
- "verdict": "ok",
1036
- "left": true,
1037
- "right": true,
1038
- "instr": "toBe",
1039
- "message": "",
1040
- "location": "117:5"
1041
- },
1042
- {
1043
- "order": 20,
1044
- "type": "",
1045
- "verdict": "ok",
1046
- "left": true,
1047
- "right": true,
1048
- "instr": "toBe",
1049
- "message": "",
1050
- "location": "117:5"
1051
- },
1052
- {
1053
- "order": 21,
1054
- "type": "",
1055
- "verdict": "ok",
1056
- "left": true,
1057
- "right": true,
1058
- "instr": "toBe",
1059
- "message": "",
1060
- "location": "117:5"
1061
- },
1062
- {
1063
- "order": 22,
1064
- "type": "",
1065
- "verdict": "ok",
1066
- "left": true,
1067
- "right": true,
1068
- "instr": "toBe",
1069
- "message": "",
1070
- "location": "117:5"
1071
- },
1072
- {
1073
- "order": 23,
1074
- "type": "",
1075
- "verdict": "ok",
1076
- "left": true,
1077
- "right": true,
1078
- "instr": "toBe",
1079
- "message": "",
1080
- "location": "117:5"
1081
- },
1082
- {
1083
- "order": 24,
1084
- "type": "",
1085
- "verdict": "ok",
1086
- "left": true,
1087
- "right": true,
1088
- "instr": "toBe",
1089
- "message": "",
1090
- "location": "117:5"
1091
- },
1092
- {
1093
- "order": 25,
1094
- "type": "",
1095
- "verdict": "ok",
1096
- "left": true,
1097
- "right": true,
1098
- "instr": "toBe",
1099
- "message": "",
1100
- "location": "117:5"
1101
- },
1102
- {
1103
- "order": 26,
1104
- "type": "",
1105
- "verdict": "ok",
1106
- "left": true,
1107
- "right": true,
1108
- "instr": "toBe",
1109
- "message": "",
1110
- "location": "117:5"
1111
- },
1112
- {
1113
- "order": 27,
1114
- "type": "",
1115
- "verdict": "ok",
1116
- "left": true,
1117
- "right": true,
1118
- "instr": "toBe",
1119
- "message": "",
1120
- "location": "117:5"
1121
- },
1122
- {
1123
- "order": 28,
1124
- "type": "",
1125
- "verdict": "ok",
1126
- "left": true,
1127
- "right": true,
1128
- "instr": "toBe",
1129
- "message": "",
1130
- "location": "117:5"
1131
- },
1132
- {
1133
- "order": 29,
1134
- "type": "",
1135
- "verdict": "ok",
1136
- "left": true,
1137
- "right": true,
1138
- "instr": "toBe",
1139
- "message": "",
1140
- "location": "117:5"
1141
- },
1142
- {
1143
- "order": 30,
1144
- "type": "",
1145
- "verdict": "ok",
1146
- "left": true,
1147
- "right": true,
1148
- "instr": "toBe",
1149
- "message": "",
1150
- "location": "117:5"
1151
- },
1152
- {
1153
- "order": 31,
1154
- "type": "",
1155
- "verdict": "ok",
1156
- "left": true,
1157
- "right": true,
1158
- "instr": "toBe",
1159
- "message": "",
1160
- "location": "117:5"
1161
- }
1162
- ],
1163
- "logs": [],
1164
- "kind": "describe",
1165
- "verdict": "ok"
1166
- },
1167
- {
1168
- "file": "string.spec.ts",
1169
- "order": 6,
1170
- "time": {
1171
- "start": 31480532.398501,
1172
- "end": 31480532.92109
1173
- },
1174
- "description": "Should serialize strings - SWAR block boundaries",
1175
- "depth": 0,
1176
- "suites": [],
1177
- "tests": [
1178
- {
1179
- "order": 0,
1180
- "type": "",
1181
- "verdict": "ok",
1182
- "left": "\"1234567\"",
1183
- "right": "\"1234567\"",
1184
- "instr": "toBe",
1185
- "message": "",
1186
- "location": "123:3"
1187
- },
1188
- {
1189
- "order": 1,
1190
- "type": "",
1191
- "verdict": "ok",
1192
- "left": "\"12345678\"",
1193
- "right": "\"12345678\"",
1194
- "instr": "toBe",
1195
- "message": "",
1196
- "location": "124:3"
1197
- },
1198
- {
1199
- "order": 2,
1200
- "type": "",
1201
- "verdict": "ok",
1202
- "left": "\"123456789\"",
1203
- "right": "\"123456789\"",
1204
- "instr": "toBe",
1205
- "message": "",
1206
- "location": "125:3"
1207
- },
1208
- {
1209
- "order": 3,
1210
- "type": "",
1211
- "verdict": "ok",
1212
- "left": "\"1234\\\"678\"",
1213
- "right": "\"1234\\\"678\"",
1214
- "instr": "toBe",
1215
- "message": "",
1216
- "location": "126:3"
1217
- },
1218
- {
1219
- "order": 4,
1220
- "type": "",
1221
- "verdict": "ok",
1222
- "left": "\"1234567\\\"\"",
1223
- "right": "\"1234567\\\"\"",
1224
- "instr": "toBe",
1225
- "message": "",
1226
- "location": "127:3"
1227
- },
1228
- {
1229
- "order": 5,
1230
- "type": "",
1231
- "verdict": "ok",
1232
- "left": "\"12345678\\\"\"",
1233
- "right": "\"12345678\\\"\"",
1234
- "instr": "toBe",
1235
- "message": "",
1236
- "location": "128:3"
1237
- }
1238
- ],
1239
- "logs": [],
1240
- "kind": "describe",
1241
- "verdict": "ok"
1242
- },
1243
- {
1244
- "file": "string.spec.ts",
1245
- "order": 9,
1246
- "time": {
1247
- "start": 31480532.948546,
1248
- "end": 31480534.20283
1249
- },
1250
- "description": "Should serialize strings - Escapes at various positions",
1251
- "depth": 0,
1252
- "suites": [],
1253
- "tests": [
1254
- {
1255
- "order": 0,
1256
- "type": "",
1257
- "verdict": "ok",
1258
- "left": "\"\\\"abcdefg\"",
1259
- "right": "\"\\\"abcdefg\"",
1260
- "instr": "toBe",
1261
- "message": "",
1262
- "location": "132:3"
1263
- },
1264
- {
1265
- "order": 1,
1266
- "type": "",
1267
- "verdict": "ok",
1268
- "left": "\"abc\\\"defg\"",
1269
- "right": "\"abc\\\"defg\"",
1270
- "instr": "toBe",
1271
- "message": "",
1272
- "location": "133:3"
1273
- },
1274
- {
1275
- "order": 2,
1276
- "type": "",
1277
- "verdict": "ok",
1278
- "left": "\"abcdefg\\\"\"",
1279
- "right": "\"abcdefg\\\"\"",
1280
- "instr": "toBe",
1281
- "message": "",
1282
- "location": "134:3"
1283
- },
1284
- {
1285
- "order": 3,
1286
- "type": "",
1287
- "verdict": "ok",
1288
- "left": "\"\\\\abcdefg\"",
1289
- "right": "\"\\\\abcdefg\"",
1290
- "instr": "toBe",
1291
- "message": "",
1292
- "location": "135:3"
1293
- },
1294
- {
1295
- "order": 4,
1296
- "type": "",
1297
- "verdict": "ok",
1298
- "left": "\"abc\\\\defg\"",
1299
- "right": "\"abc\\\\defg\"",
1300
- "instr": "toBe",
1301
- "message": "",
1302
- "location": "136:3"
1303
- },
1304
- {
1305
- "order": 5,
1306
- "type": "",
1307
- "verdict": "ok",
1308
- "left": "\"abcdefg\\\\\"",
1309
- "right": "\"abcdefg\\\\\"",
1310
- "instr": "toBe",
1311
- "message": "",
1312
- "location": "137:3"
1313
- },
1314
- {
1315
- "order": 6,
1316
- "type": "",
1317
- "verdict": "ok",
1318
- "left": "\"\\nabcdefg\"",
1319
- "right": "\"\\nabcdefg\"",
1320
- "instr": "toBe",
1321
- "message": "",
1322
- "location": "138:3"
1323
- },
1324
- {
1325
- "order": 7,
1326
- "type": "",
1327
- "verdict": "ok",
1328
- "left": "\"abc\\ndefg\"",
1329
- "right": "\"abc\\ndefg\"",
1330
- "instr": "toBe",
1331
- "message": "",
1332
- "location": "139:3"
1333
- },
1334
- {
1335
- "order": 8,
1336
- "type": "",
1337
- "verdict": "ok",
1338
- "left": "\"abcdefg\\n\"",
1339
- "right": "\"abcdefg\\n\"",
1340
- "instr": "toBe",
1341
- "message": "",
1342
- "location": "140:3"
1343
- }
1344
- ],
1345
- "logs": [],
1346
- "kind": "describe",
1347
- "verdict": "ok"
1348
- },
1349
- {
1350
- "file": "string.spec.ts",
1351
- "order": 6,
1352
- "time": {
1353
- "start": 31480534.232054,
1354
- "end": 31480534.572233
1355
- },
1356
- "description": "Should deserialize strings - Basic",
1357
- "depth": 0,
1358
- "suites": [],
1359
- "tests": [
1360
- {
1361
- "order": 0,
1362
- "type": "",
1363
- "verdict": "ok",
1364
- "left": "abcdefg",
1365
- "right": "abcdefg",
1366
- "instr": "toBe",
1367
- "message": "",
1368
- "location": "144:3"
1369
- },
1370
- {
1371
- "order": 1,
1372
- "type": "",
1373
- "verdict": "ok",
1374
- "left": "\"st\\\"ring\\\" w\\\"\\\"ith quotes\\\"\"",
1375
- "right": "\"st\\\"ring\\\" w\\\"\\\"ith quotes\\\"\"",
1376
- "instr": "toBe",
1377
- "message": "",
1378
- "location": "145:3"
1379
- },
1380
- {
1381
- "order": 2,
1382
- "type": "",
1383
- "verdict": "ok",
1384
- "left": "\"string \\\"with random spa\\nces and \\nnewlines\\n\\n\\n\"",
1385
- "right": "\"string \\\"with random spa\\nces and \\nnewlines\\n\\n\\n\"",
1386
- "instr": "toBe",
1387
- "message": "",
1388
- "location": "146:3"
1389
- },
1390
- {
1391
- "order": 3,
1392
- "type": "",
1393
- "verdict": "ok",
1394
- "left": "\"string with colon : comma , brace [ ] bracket { } and quote \\\" and other quote \\\\\"\"",
1395
- "right": "\"string with colon : comma , brace [ ] bracket { } and quote \\\" and other quote \\\\\"\"",
1396
- "instr": "toBe",
1397
- "message": "",
1398
- "location": "147:3"
1399
- },
1400
- {
1401
- "order": 4,
1402
- "type": "",
1403
- "verdict": "ok",
1404
- "left": "a\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f",
1405
- "right": "a\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f",
1406
- "instr": "toBe",
1407
- "message": "",
1408
- "location": "148:3"
1409
- },
1410
- {
1411
- "order": 5,
1412
- "type": "",
1413
- "verdict": "ok",
1414
- "left": "abcdYZ12345890sdfw\"vie91kfESDFOK12i9i12dsf./?",
1415
- "right": "abcdYZ12345890sdfw\"vie91kfESDFOK12i9i12dsf./?",
1416
- "instr": "toBe",
1417
- "message": "",
1418
- "location": "149:3"
1419
- }
1420
- ],
1421
- "logs": [],
1422
- "kind": "describe",
1423
- "verdict": "ok"
1424
- },
1425
- {
1426
- "file": "string.spec.ts",
1427
- "order": 7,
1428
- "time": {
1429
- "start": 31480534.594629,
1430
- "end": 31480534.794976
1431
- },
1432
- "description": "Should deserialize strings - Empty and whitespace",
1433
- "depth": 0,
1434
- "suites": [],
1435
- "tests": [
1436
- {
1437
- "order": 0,
1438
- "type": "",
1439
- "verdict": "ok",
1440
- "left": "",
1441
- "right": "",
1442
- "instr": "toBe",
1443
- "message": "",
1444
- "location": "153:3"
1445
- },
1446
- {
1447
- "order": 1,
1448
- "type": "",
1449
- "verdict": "ok",
1450
- "left": " ",
1451
- "right": " ",
1452
- "instr": "toBe",
1453
- "message": "",
1454
- "location": "154:3"
1455
- },
1456
- {
1457
- "order": 2,
1458
- "type": "",
1459
- "verdict": "ok",
1460
- "left": " ",
1461
- "right": " ",
1462
- "instr": "toBe",
1463
- "message": "",
1464
- "location": "155:3"
1465
- },
1466
- {
1467
- "order": 3,
1468
- "type": "",
1469
- "verdict": "ok",
1470
- "left": "\t",
1471
- "right": "\t",
1472
- "instr": "toBe",
1473
- "message": "",
1474
- "location": "156:3"
1475
- },
1476
- {
1477
- "order": 4,
1478
- "type": "",
1479
- "verdict": "ok",
1480
- "left": "\n",
1481
- "right": "\n",
1482
- "instr": "toBe",
1483
- "message": "",
1484
- "location": "157:3"
1485
- },
1486
- {
1487
- "order": 5,
1488
- "type": "",
1489
- "verdict": "ok",
1490
- "left": "\r",
1491
- "right": "\r",
1492
- "instr": "toBe",
1493
- "message": "",
1494
- "location": "158:3"
1495
- },
1496
- {
1497
- "order": 6,
1498
- "type": "",
1499
- "verdict": "ok",
1500
- "left": "\r\n",
1501
- "right": "\r\n",
1502
- "instr": "toBe",
1503
- "message": "",
1504
- "location": "159:3"
1505
- }
1506
- ],
1507
- "logs": [],
1508
- "kind": "describe",
1509
- "verdict": "ok"
1510
- },
1511
- {
1512
- "file": "string.spec.ts",
1513
- "order": 10,
1514
- "time": {
1515
- "start": 31480534.820215,
1516
- "end": 31480535.132925
1517
- },
1518
- "description": "Should deserialize strings - Special characters",
1519
- "depth": 0,
1520
- "suites": [],
1521
- "tests": [
1522
- {
1523
- "order": 0,
1524
- "type": "",
1525
- "verdict": "ok",
1526
- "left": "\"",
1527
- "right": "\"",
1528
- "instr": "toBe",
1529
- "message": "",
1530
- "location": "163:3"
1531
- },
1532
- {
1533
- "order": 1,
1534
- "type": "",
1535
- "verdict": "ok",
1536
- "left": "\\",
1537
- "right": "\\",
1538
- "instr": "toBe",
1539
- "message": "",
1540
- "location": "164:3"
1541
- },
1542
- {
1543
- "order": 2,
1544
- "type": "",
1545
- "verdict": "ok",
1546
- "left": "\"\\",
1547
- "right": "\"\\",
1548
- "instr": "toBe",
1549
- "message": "",
1550
- "location": "165:3"
1551
- },
1552
- {
1553
- "order": 3,
1554
- "type": "",
1555
- "verdict": "ok",
1556
- "left": "\\\"",
1557
- "right": "\\\"",
1558
- "instr": "toBe",
1559
- "message": "",
1560
- "location": "166:3"
1561
- },
1562
- {
1563
- "order": 4,
1564
- "type": "",
1565
- "verdict": "ok",
1566
- "left": "/",
1567
- "right": "/",
1568
- "instr": "toBe",
1569
- "message": "",
1570
- "location": "167:3"
1571
- },
1572
- {
1573
- "order": 5,
1574
- "type": "",
1575
- "verdict": "ok",
1576
- "left": "\b",
1577
- "right": "\b",
1578
- "instr": "toBe",
1579
- "message": "",
1580
- "location": "168:3"
1581
- },
1582
- {
1583
- "order": 6,
1584
- "type": "",
1585
- "verdict": "ok",
1586
- "left": "\f",
1587
- "right": "\f",
1588
- "instr": "toBe",
1589
- "message": "",
1590
- "location": "169:3"
1591
- },
1592
- {
1593
- "order": 7,
1594
- "type": "",
1595
- "verdict": "ok",
1596
- "left": "\n",
1597
- "right": "\n",
1598
- "instr": "toBe",
1599
- "message": "",
1600
- "location": "170:3"
1601
- },
1602
- {
1603
- "order": 8,
1604
- "type": "",
1605
- "verdict": "ok",
1606
- "left": "\r",
1607
- "right": "\r",
1608
- "instr": "toBe",
1609
- "message": "",
1610
- "location": "171:3"
1611
- },
1612
- {
1613
- "order": 9,
1614
- "type": "",
1615
- "verdict": "ok",
1616
- "left": "\t",
1617
- "right": "\t",
1618
- "instr": "toBe",
1619
- "message": "",
1620
- "location": "172:3"
1621
- }
1622
- ],
1623
- "logs": [],
1624
- "kind": "describe",
1625
- "verdict": "ok"
1626
- },
1627
- {
1628
- "file": "string.spec.ts",
1629
- "order": 7,
1630
- "time": {
1631
- "start": 31480535.156448,
1632
- "end": 31480535.356308
1633
- },
1634
- "description": "Should deserialize strings - Unicode escapes",
1635
- "depth": 0,
1636
- "suites": [],
1637
- "tests": [
1638
- {
1639
- "order": 0,
1640
- "type": "",
1641
- "verdict": "ok",
1642
- "left": "\u0000",
1643
- "right": "\u0000",
1644
- "instr": "toBe",
1645
- "message": "",
1646
- "location": "176:3"
1647
- },
1648
- {
1649
- "order": 1,
1650
- "type": "",
1651
- "verdict": "ok",
1652
- "left": "\u0001",
1653
- "right": "\u0001",
1654
- "instr": "toBe",
1655
- "message": "",
1656
- "location": "177:3"
1657
- },
1658
- {
1659
- "order": 2,
1660
- "type": "",
1661
- "verdict": "ok",
1662
- "left": "\u001f",
1663
- "right": "\u001f",
1664
- "instr": "toBe",
1665
- "message": "",
1666
- "location": "178:3"
1667
- },
1668
- {
1669
- "order": 3,
1670
- "type": "",
1671
- "verdict": "ok",
1672
- "left": "A",
1673
- "right": "A",
1674
- "instr": "toBe",
1675
- "message": "",
1676
- "location": "179:3"
1677
- },
1678
- {
1679
- "order": 4,
1680
- "type": "",
1681
- "verdict": "ok",
1682
- "left": "a",
1683
- "right": "a",
1684
- "instr": "toBe",
1685
- "message": "",
1686
- "location": "180:3"
1687
- },
1688
- {
1689
- "order": 5,
1690
- "type": "",
1691
- "verdict": "ok",
1692
- "left": "é",
1693
- "right": "é",
1694
- "instr": "toBe",
1695
- "message": "",
1696
- "location": "181:3"
1697
- },
1698
- {
1699
- "order": 6,
1700
- "type": "",
1701
- "verdict": "ok",
1702
- "left": "中文",
1703
- "right": "中文",
1704
- "instr": "toBe",
1705
- "message": "",
1706
- "location": "182:3"
1707
- }
1708
- ],
1709
- "logs": [],
1710
- "kind": "describe",
1711
- "verdict": "ok"
1712
- },
1713
- {
1714
- "file": "string.spec.ts",
1715
- "order": 5,
1716
- "time": {
1717
- "start": 31480535.378756,
1718
- "end": 31480535.537777
1719
- },
1720
- "description": "Should deserialize strings - Mixed escapes",
1721
- "depth": 0,
1722
- "suites": [],
1723
- "tests": [
1724
- {
1725
- "order": 0,
1726
- "type": "",
1727
- "verdict": "ok",
1728
- "left": "abc\"def",
1729
- "right": "abc\"def",
1730
- "instr": "toBe",
1731
- "message": "",
1732
- "location": "186:3"
1733
- },
1734
- {
1735
- "order": 1,
1736
- "type": "",
1737
- "verdict": "ok",
1738
- "left": "line1\nline2",
1739
- "right": "line1\nline2",
1740
- "instr": "toBe",
1741
- "message": "",
1742
- "location": "187:3"
1743
- },
1744
- {
1745
- "order": 2,
1746
- "type": "",
1747
- "verdict": "ok",
1748
- "left": "tab\there",
1749
- "right": "tab\there",
1750
- "instr": "toBe",
1751
- "message": "",
1752
- "location": "188:3"
1753
- },
1754
- {
1755
- "order": 3,
1756
- "type": "",
1757
- "verdict": "ok",
1758
- "left": "back\\slash",
1759
- "right": "back\\slash",
1760
- "instr": "toBe",
1761
- "message": "",
1762
- "location": "189:3"
1763
- },
1764
- {
1765
- "order": 4,
1766
- "type": "",
1767
- "verdict": "ok",
1768
- "left": "\"\\/\b\f\n\r\t",
1769
- "right": "\"\\/\b\f\n\r\t",
1770
- "instr": "toBe",
1771
- "message": "",
1772
- "location": "190:3"
1773
- }
1774
- ],
1775
- "logs": [],
1776
- "kind": "describe",
1777
- "verdict": "ok"
1778
- },
1779
- {
1780
- "file": "string.spec.ts",
1781
- "order": 4,
1782
- "time": {
1783
- "start": 31480535.558561,
1784
- "end": 31480535.688139
1785
- },
1786
- "description": "Should deserialize strings - Unicode characters (non-escaped)",
1787
- "depth": 0,
1788
- "suites": [],
1789
- "tests": [
1790
- {
1791
- "order": 0,
1792
- "type": "",
1793
- "verdict": "ok",
1794
- "left": "café",
1795
- "right": "café",
1796
- "instr": "toBe",
1797
- "message": "",
1798
- "location": "194:3"
1799
- },
1800
- {
1801
- "order": 1,
1802
- "type": "",
1803
- "verdict": "ok",
1804
- "left": "hello 世界",
1805
- "right": "hello 世界",
1806
- "instr": "toBe",
1807
- "message": "",
1808
- "location": "195:3"
1809
- },
1810
- {
1811
- "order": 2,
1812
- "type": "",
1813
- "verdict": "ok",
1814
- "left": "Здравствуйте",
1815
- "right": "Здравствуйте",
1816
- "instr": "toBe",
1817
- "message": "",
1818
- "location": "196:3"
1819
- },
1820
- {
1821
- "order": 3,
1822
- "type": "",
1823
- "verdict": "ok",
1824
- "left": "مرحبا",
1825
- "right": "مرحبا",
1826
- "instr": "toBe",
1827
- "message": "",
1828
- "location": "197:3"
1829
- }
1830
- ],
1831
- "logs": [],
1832
- "kind": "describe",
1833
- "verdict": "ok"
1834
- },
1835
- {
1836
- "file": "string.spec.ts",
1837
- "order": 4,
1838
- "time": {
1839
- "start": 31480535.71386,
1840
- "end": 31480535.833133
1841
- },
1842
- "description": "Should deserialize strings - Surrogates",
1843
- "depth": 0,
1844
- "suites": [],
1845
- "tests": [
1846
- {
1847
- "order": 0,
1848
- "type": "",
1849
- "verdict": "ok",
1850
- "left": "😀",
1851
- "right": "😀",
1852
- "instr": "toBe",
1853
- "message": "",
1854
- "location": "201:3"
1855
- },
1856
- {
1857
- "order": 1,
1858
- "type": "",
1859
- "verdict": "ok",
1860
- "left": "𝄞",
1861
- "right": "𝄞",
1862
- "instr": "toBe",
1863
- "message": "",
1864
- "location": "202:3"
1865
- },
1866
- {
1867
- "order": 2,
1868
- "type": "",
1869
- "verdict": "ok",
1870
- "left": "���",
1871
- "right": "���",
1872
- "instr": "toBe",
1873
- "message": "",
1874
- "location": "203:3"
1875
- },
1876
- {
1877
- "order": 3,
1878
- "type": "",
1879
- "verdict": "ok",
1880
- "left": "���",
1881
- "right": "���",
1882
- "instr": "toBe",
1883
- "message": "",
1884
- "location": "204:3"
1885
- }
1886
- ],
1887
- "logs": [],
1888
- "kind": "describe",
1889
- "verdict": "ok"
1890
- },
1891
- {
1892
- "file": "string.spec.ts",
1893
- "order": 2,
1894
- "time": {
1895
- "start": 31480535.853214,
1896
- "end": 31480538.189597
1897
- },
1898
- "description": "Should deserialize strings - Long strings",
1899
- "depth": 0,
1900
- "suites": [],
1901
- "tests": [
1902
- {
1903
- "order": 0,
1904
- "type": "",
1905
- "verdict": "ok",
1906
- "left": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
1907
- "right": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
1908
- "instr": "toBe",
1909
- "message": "",
1910
- "location": "209:3"
1911
- },
1912
- {
1913
- "order": 1,
1914
- "type": "",
1915
- "verdict": "ok",
1916
- "left": "abc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndef",
1917
- "right": "abc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndefabc\ndef",
1918
- "instr": "toBe",
1919
- "message": "",
1920
- "location": "212:3"
1921
- }
1922
- ],
1923
- "logs": [],
1924
- "kind": "describe",
1925
- "verdict": "ok"
1926
- },
1927
- {
1928
- "file": "string.spec.ts",
1929
- "order": 11,
1930
- "time": {
1931
- "start": 31480538.212703,
1932
- "end": 31480538.76335
1933
- },
1934
- "description": "Should deserialize strings - Roundtrip",
1935
- "depth": 0,
1936
- "suites": [],
1937
- "tests": [
1938
- {
1939
- "order": 0,
1940
- "type": "",
1941
- "verdict": "ok",
1942
- "left": "",
1943
- "right": "",
1944
- "instr": "toBe",
1945
- "message": "",
1946
- "location": "222:5"
1947
- },
1948
- {
1949
- "order": 1,
1950
- "type": "",
1951
- "verdict": "ok",
1952
- "left": "hello",
1953
- "right": "hello",
1954
- "instr": "toBe",
1955
- "message": "",
1956
- "location": "222:5"
1957
- },
1958
- {
1959
- "order": 2,
1960
- "type": "",
1961
- "verdict": "ok",
1962
- "left": "hello world",
1963
- "right": "hello world",
1964
- "instr": "toBe",
1965
- "message": "",
1966
- "location": "222:5"
1967
- },
1968
- {
1969
- "order": 3,
1970
- "type": "",
1971
- "verdict": "ok",
1972
- "left": "quotes \"inside\" string",
1973
- "right": "quotes \"inside\" string",
1974
- "instr": "toBe",
1975
- "message": "",
1976
- "location": "222:5"
1977
- },
1978
- {
1979
- "order": 4,
1980
- "type": "",
1981
- "verdict": "ok",
1982
- "left": "backslash \\ character",
1983
- "right": "backslash \\ character",
1984
- "instr": "toBe",
1985
- "message": "",
1986
- "location": "222:5"
1987
- },
1988
- {
1989
- "order": 5,
1990
- "type": "",
1991
- "verdict": "ok",
1992
- "left": "newline\ncharacter",
1993
- "right": "newline\ncharacter",
1994
- "instr": "toBe",
1995
- "message": "",
1996
- "location": "222:5"
1997
- },
1998
- {
1999
- "order": 6,
2000
- "type": "",
2001
- "verdict": "ok",
2002
- "left": "tab\tcharacter",
2003
- "right": "tab\tcharacter",
2004
- "instr": "toBe",
2005
- "message": "",
2006
- "location": "222:5"
2007
- },
2008
- {
2009
- "order": 7,
2010
- "type": "",
2011
- "verdict": "ok",
2012
- "left": "all together: \"\\\n\t",
2013
- "right": "all together: \"\\\n\t",
2014
- "instr": "toBe",
2015
- "message": "",
2016
- "location": "222:5"
2017
- },
2018
- {
2019
- "order": 8,
2020
- "type": "",
2021
- "verdict": "ok",
2022
- "left": "control chars: \u0000\u0001\u001f",
2023
- "right": "control chars: \u0000\u0001\u001f",
2024
- "instr": "toBe",
2025
- "message": "",
2026
- "location": "222:5"
2027
- },
2028
- {
2029
- "order": 9,
2030
- "type": "",
2031
- "verdict": "ok",
2032
- "left": "unicode: café 世界",
2033
- "right": "unicode: café 世界",
2034
- "instr": "toBe",
2035
- "message": "",
2036
- "location": "222:5"
2037
- },
2038
- {
2039
- "order": 10,
2040
- "type": "",
2041
- "verdict": "ok",
2042
- "left": "long string: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
2043
- "right": "long string: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
2044
- "instr": "toBe",
2045
- "message": "",
2046
- "location": "222:5"
2047
- }
2048
- ],
2049
- "logs": [],
2050
- "kind": "describe",
2051
- "verdict": "ok"
2052
- },
2053
- {
2054
- "file": "string.spec.ts",
2055
- "order": 6,
2056
- "time": {
2057
- "start": 31480538.779223,
2058
- "end": 31480542.612438
2059
- },
2060
- "description": "Additional regression coverage - primitives and arrays",
2061
- "depth": 0,
2062
- "suites": [],
2063
- "tests": [
2064
- {
2065
- "order": 0,
2066
- "type": "",
2067
- "verdict": "ok",
2068
- "left": "\"regression\"",
2069
- "right": "\"regression\"",
2070
- "instr": "toBe",
2071
- "message": "",
2072
- "location": "227:3"
2073
- },
2074
- {
2075
- "order": 1,
2076
- "type": "",
2077
- "verdict": "ok",
2078
- "left": "-42",
2079
- "right": "-42",
2080
- "instr": "toBe",
2081
- "message": "",
2082
- "location": "228:3"
2083
- },
2084
- {
2085
- "order": 2,
2086
- "type": "",
2087
- "verdict": "ok",
2088
- "left": "false",
2089
- "right": "false",
2090
- "instr": "toBe",
2091
- "message": "",
2092
- "location": "229:3"
2093
- },
2094
- {
2095
- "order": 3,
2096
- "type": "",
2097
- "verdict": "ok",
2098
- "left": "3.5",
2099
- "right": "3.5",
2100
- "instr": "toBe",
2101
- "message": "",
2102
- "location": "230:3"
2103
- },
2104
- {
2105
- "order": 4,
2106
- "type": "",
2107
- "verdict": "ok",
2108
- "left": "[1,2,3,4]",
2109
- "right": "[1,2,3,4]",
2110
- "instr": "toBe",
2111
- "message": "",
2112
- "location": "231:3"
2113
- },
2114
- {
2115
- "order": 5,
2116
- "type": "",
2117
- "verdict": "ok",
2118
- "left": "[\"a\",\"b\",\"c\"]",
2119
- "right": "[\"a\",\"b\",\"c\"]",
2120
- "instr": "toBe",
2121
- "message": "",
2122
- "location": "232:3"
2123
- }
2124
- ],
2125
- "logs": [],
2126
- "kind": "describe",
2127
- "verdict": "ok"
2128
- },
2129
- {
2130
- "file": "string.spec.ts",
2131
- "order": 3,
2132
- "time": {
2133
- "start": 31480542.629935,
2134
- "end": 31480542.764335
2135
- },
2136
- "description": "Should serialize additional unicode and escaped mixes",
2137
- "depth": 0,
2138
- "suites": [],
2139
- "tests": [
2140
- {
2141
- "order": 0,
2142
- "type": "",
2143
- "verdict": "ok",
2144
- "left": "\"A😀B😀C\"",
2145
- "right": "\"A😀B😀C\"",
2146
- "instr": "toBe",
2147
- "message": "",
2148
- "location": "236:3"
2149
- },
2150
- {
2151
- "order": 1,
2152
- "type": "",
2153
- "verdict": "ok",
2154
- "left": "\"tabs\\tand\\nlines\\rhere\"",
2155
- "right": "\"tabs\\tand\\nlines\\rhere\"",
2156
- "instr": "toBe",
2157
- "message": "",
2158
- "location": "237:3"
2159
- },
2160
- {
2161
- "order": 2,
2162
- "type": "",
2163
- "verdict": "ok",
2164
- "left": "\"\\\\\\\"\\\\\\\"\\\\\\\"\"",
2165
- "right": "\"\\\\\\\"\\\\\\\"\\\\\\\"\"",
2166
- "instr": "toBe",
2167
- "message": "",
2168
- "location": "238:3"
2169
- }
2170
- ],
2171
- "logs": [],
2172
- "kind": "describe",
2173
- "verdict": "ok"
2174
- },
2175
- {
2176
- "file": "string.spec.ts",
2177
- "order": 3,
2178
- "time": {
2179
- "start": 31480542.784699,
2180
- "end": 31480542.8598
2181
- },
2182
- "description": "Should deserialize additional unicode escapes",
2183
- "depth": 0,
2184
- "suites": [],
2185
- "tests": [
2186
- {
2187
- "order": 0,
2188
- "type": "",
2189
- "verdict": "ok",
2190
- "left": "ABC",
2191
- "right": "ABC",
2192
- "instr": "toBe",
2193
- "message": "",
2194
- "location": "242:3"
2195
- },
2196
- {
2197
- "order": 1,
2198
- "type": "",
2199
- "verdict": "ok",
2200
- "left": "Ωλ",
2201
- "right": "Ωλ",
2202
- "instr": "toBe",
2203
- "message": "",
2204
- "location": "243:3"
2205
- },
2206
- {
2207
- "order": 2,
2208
- "type": "",
2209
- "verdict": "ok",
2210
- "left": "€",
2211
- "right": "€",
2212
- "instr": "toBe",
2213
- "message": "",
2214
- "location": "244:3"
2215
- }
2216
- ],
2217
- "logs": [],
2218
- "kind": "describe",
2219
- "verdict": "ok"
2220
- },
2221
- {
2222
- "file": "string.spec.ts",
2223
- "order": 5,
2224
- "time": {
2225
- "start": 31480542.87022,
2226
- "end": 31480543.120626
2227
- },
2228
- "description": "Extended regression coverage - nested and escaped payloads",
2229
- "depth": 0,
2230
- "suites": [],
2231
- "tests": [
2232
- {
2233
- "order": 0,
2234
- "type": "",
2235
- "verdict": "ok",
2236
- "left": "0",
2237
- "right": "0",
2238
- "instr": "toBe",
2239
- "message": "",
2240
- "location": "248:3"
2241
- },
2242
- {
2243
- "order": 1,
2244
- "type": "",
2245
- "verdict": "ok",
2246
- "left": "true",
2247
- "right": "true",
2248
- "instr": "toBe",
2249
- "message": "",
2250
- "location": "249:3"
2251
- },
2252
- {
2253
- "order": 2,
2254
- "type": "",
2255
- "verdict": "ok",
2256
- "left": "-0.125",
2257
- "right": "-0.125",
2258
- "instr": "toBe",
2259
- "message": "",
2260
- "location": "250:3"
2261
- },
2262
- {
2263
- "order": 3,
2264
- "type": "",
2265
- "verdict": "ok",
2266
- "left": "[[1],[2,3],[]]",
2267
- "right": "[[1],[2,3],[]]",
2268
- "instr": "toBe",
2269
- "message": "",
2270
- "location": "251:3"
2271
- },
2272
- {
2273
- "order": 4,
2274
- "type": "",
2275
- "verdict": "ok",
2276
- "left": "\"line\\nbreak\"",
2277
- "right": "\"line\\nbreak\"",
2278
- "instr": "toBe",
2279
- "message": "",
2280
- "location": "252:3"
2281
- }
2282
- ],
2283
- "logs": [],
2284
- "kind": "describe",
2285
- "verdict": "ok"
2286
- }
2287
- ]
2288
- }
2289
- ]