test-specs-jansson.ref (13911B)
1 2 loading test-specs/spec/specs/comments.json 3 processing file test-specs/spec/specs/comments.json 4 [0] Inline 5 Comment blocks should be removed from the template. 6 => SUCCESS 7 [1] Multiline 8 Multiline comments should be permitted. 9 => SUCCESS 10 [2] Standalone 11 All standalone comment lines should be removed. 12 => SUCCESS 13 [3] Indented Standalone 14 All standalone comment lines should be removed. 15 => SUCCESS 16 [4] Standalone Line Endings 17 "\r\n" should be considered a newline for standalone tags. 18 => SUCCESS 19 [5] Standalone Without Previous Line 20 Standalone tags should not require a newline to precede them. 21 => SUCCESS 22 [6] Standalone Without Newline 23 Standalone tags should not require a newline to follow them. 24 => SUCCESS 25 [7] Multiline Standalone 26 All standalone comment lines should be removed. 27 => SUCCESS 28 [8] Indented Multiline Standalone 29 All standalone comment lines should be removed. 30 => SUCCESS 31 [9] Indented Inline 32 Inline comments should not strip whitespace 33 => SUCCESS 34 [10] Surrounding Whitespace 35 Comment removal should preserve surrounding whitespace. 36 => SUCCESS 37 [11] Variable Name Collision 38 Comments must never render, even if variable with same name exists. 39 => SUCCESS 40 41 loading test-specs/spec/specs/delimiters.json 42 processing file test-specs/spec/specs/delimiters.json 43 [0] Pair Behavior 44 The equals sign (used on both sides) should permit delimiter changes. 45 => SUCCESS 46 [1] Special Characters 47 Characters with special meaning regexen should be valid delimiters. 48 => SUCCESS 49 [2] Sections 50 Delimiters set outside sections should persist. 51 => SUCCESS 52 [3] Inverted Sections 53 Delimiters set outside inverted sections should persist. 54 => SUCCESS 55 [4] Partial Inheritence 56 Delimiters set in a parent template should not affect a partial. 57 => SUCCESS 58 [5] Post-Partial Behavior 59 Delimiters set in a partial should not affect the parent template. 60 => SUCCESS 61 [6] Surrounding Whitespace 62 Surrounding whitespace should be left untouched. 63 => SUCCESS 64 [7] Outlying Whitespace (Inline) 65 Whitespace should be left untouched. 66 => SUCCESS 67 [8] Standalone Tag 68 Standalone lines should be removed from the template. 69 => SUCCESS 70 [9] Indented Standalone Tag 71 Indented standalone lines should be removed from the template. 72 => SUCCESS 73 [10] Standalone Line Endings 74 "\r\n" should be considered a newline for standalone tags. 75 => SUCCESS 76 [11] Standalone Without Previous Line 77 Standalone tags should not require a newline to precede them. 78 => SUCCESS 79 [12] Standalone Without Newline 80 Standalone tags should not require a newline to follow them. 81 => SUCCESS 82 [13] Pair with Padding 83 Superfluous in-tag whitespace should be ignored. 84 => SUCCESS 85 86 loading test-specs/spec/specs/interpolation.json 87 processing file test-specs/spec/specs/interpolation.json 88 [0] No Interpolation 89 Mustache-free templates should render as-is. 90 => SUCCESS 91 [1] Basic Interpolation 92 Unadorned tags should interpolate content into the template. 93 => SUCCESS 94 [2] HTML Escaping 95 Basic interpolation should be HTML escaped. 96 => SUCCESS 97 [3] Triple Mustache 98 Triple mustaches should interpolate without HTML escaping. 99 => SUCCESS 100 [4] Ampersand 101 Ampersand should interpolate without HTML escaping. 102 => SUCCESS 103 [5] Basic Integer Interpolation 104 Integers should interpolate seamlessly. 105 => SUCCESS 106 [6] Triple Mustache Integer Interpolation 107 Integers should interpolate seamlessly. 108 => SUCCESS 109 [7] Ampersand Integer Interpolation 110 Integers should interpolate seamlessly. 111 => SUCCESS 112 [8] Basic Decimal Interpolation 113 Decimals should interpolate seamlessly with proper significance. 114 => SUCCESS 115 [9] Triple Mustache Decimal Interpolation 116 Decimals should interpolate seamlessly with proper significance. 117 => SUCCESS 118 [10] Ampersand Decimal Interpolation 119 Decimals should interpolate seamlessly with proper significance. 120 => SUCCESS 121 [11] Basic Null Interpolation 122 Nulls should interpolate as the empty string. 123 => SUCCESS 124 [12] Triple Mustache Null Interpolation 125 Nulls should interpolate as the empty string. 126 => SUCCESS 127 [13] Ampersand Null Interpolation 128 Nulls should interpolate as the empty string. 129 => SUCCESS 130 [14] Basic Context Miss Interpolation 131 Failed context lookups should default to empty strings. 132 => SUCCESS 133 [15] Triple Mustache Context Miss Interpolation 134 Failed context lookups should default to empty strings. 135 => SUCCESS 136 [16] Ampersand Context Miss Interpolation 137 Failed context lookups should default to empty strings. 138 => SUCCESS 139 [17] Dotted Names - Basic Interpolation 140 Dotted names should be considered a form of shorthand for sections. 141 => SUCCESS 142 [18] Dotted Names - Triple Mustache Interpolation 143 Dotted names should be considered a form of shorthand for sections. 144 => SUCCESS 145 [19] Dotted Names - Ampersand Interpolation 146 Dotted names should be considered a form of shorthand for sections. 147 => SUCCESS 148 [20] Dotted Names - Arbitrary Depth 149 Dotted names should be functional to any level of nesting. 150 => SUCCESS 151 [21] Dotted Names - Broken Chains 152 Any falsey value prior to the last part of the name should yield ''. 153 => SUCCESS 154 [22] Dotted Names - Broken Chain Resolution 155 Each part of a dotted name should resolve only against its parent. 156 => SUCCESS 157 [23] Dotted Names - Initial Resolution 158 The first part of a dotted name should resolve as any other name. 159 => SUCCESS 160 [24] Dotted Names - Context Precedence 161 Dotted names should be resolved against former resolutions. 162 => SUCCESS 163 [25] Implicit Iterators - Basic Interpolation 164 Unadorned tags should interpolate content into the template. 165 => SUCCESS 166 [26] Implicit Iterators - HTML Escaping 167 Basic interpolation should be HTML escaped. 168 => SUCCESS 169 [27] Implicit Iterators - Triple Mustache 170 Triple mustaches should interpolate without HTML escaping. 171 => SUCCESS 172 [28] Implicit Iterators - Ampersand 173 Ampersand should interpolate without HTML escaping. 174 => SUCCESS 175 [29] Implicit Iterators - Basic Integer Interpolation 176 Integers should interpolate seamlessly. 177 => SUCCESS 178 [30] Interpolation - Surrounding Whitespace 179 Interpolation should not alter surrounding whitespace. 180 => SUCCESS 181 [31] Triple Mustache - Surrounding Whitespace 182 Interpolation should not alter surrounding whitespace. 183 => SUCCESS 184 [32] Ampersand - Surrounding Whitespace 185 Interpolation should not alter surrounding whitespace. 186 => SUCCESS 187 [33] Interpolation - Standalone 188 Standalone interpolation should not alter surrounding whitespace. 189 => SUCCESS 190 [34] Triple Mustache - Standalone 191 Standalone interpolation should not alter surrounding whitespace. 192 => SUCCESS 193 [35] Ampersand - Standalone 194 Standalone interpolation should not alter surrounding whitespace. 195 => SUCCESS 196 [36] Interpolation With Padding 197 Superfluous in-tag whitespace should be ignored. 198 => SUCCESS 199 [37] Triple Mustache With Padding 200 Superfluous in-tag whitespace should be ignored. 201 => SUCCESS 202 [38] Ampersand With Padding 203 Superfluous in-tag whitespace should be ignored. 204 => SUCCESS 205 206 loading test-specs/spec/specs/inverted.json 207 processing file test-specs/spec/specs/inverted.json 208 [0] Falsey 209 Falsey sections should have their contents rendered. 210 => SUCCESS 211 [1] Truthy 212 Truthy sections should have their contents omitted. 213 => SUCCESS 214 [2] Null is falsey 215 Null is falsey. 216 => SUCCESS 217 [3] Context 218 Objects and hashes should behave like truthy values. 219 => SUCCESS 220 [4] List 221 Lists should behave like truthy values. 222 => SUCCESS 223 [5] Empty List 224 Empty lists should behave like falsey values. 225 => SUCCESS 226 [6] Doubled 227 Multiple inverted sections per template should be permitted. 228 => SUCCESS 229 [7] Nested (Falsey) 230 Nested falsey sections should have their contents rendered. 231 => SUCCESS 232 [8] Nested (Truthy) 233 Nested truthy sections should be omitted. 234 => SUCCESS 235 [9] Context Misses 236 Failed context lookups should be considered falsey. 237 => SUCCESS 238 [10] Dotted Names - Truthy 239 Dotted names should be valid for Inverted Section tags. 240 => SUCCESS 241 [11] Dotted Names - Falsey 242 Dotted names should be valid for Inverted Section tags. 243 => SUCCESS 244 [12] Dotted Names - Broken Chains 245 Dotted names that cannot be resolved should be considered falsey. 246 => SUCCESS 247 [13] Surrounding Whitespace 248 Inverted sections should not alter surrounding whitespace. 249 => SUCCESS 250 [14] Internal Whitespace 251 Inverted should not alter internal whitespace. 252 => SUCCESS 253 [15] Indented Inline Sections 254 Single-line sections should not alter surrounding whitespace. 255 => SUCCESS 256 [16] Standalone Lines 257 Standalone lines should be removed from the template. 258 => SUCCESS 259 [17] Standalone Indented Lines 260 Standalone indented lines should be removed from the template. 261 => SUCCESS 262 [18] Standalone Line Endings 263 "\r\n" should be considered a newline for standalone tags. 264 => SUCCESS 265 [19] Standalone Without Previous Line 266 Standalone tags should not require a newline to precede them. 267 => SUCCESS 268 [20] Standalone Without Newline 269 Standalone tags should not require a newline to follow them. 270 => SUCCESS 271 [21] Padding 272 Superfluous in-tag whitespace should be ignored. 273 => SUCCESS 274 275 loading test-specs/spec/specs/partials.json 276 processing file test-specs/spec/specs/partials.json 277 [0] Basic Behavior 278 The greater-than operator should expand to the named partial. 279 => SUCCESS 280 [1] Failed Lookup 281 The empty string should be used when the named partial is not found. 282 => SUCCESS 283 [2] Context 284 The greater-than operator should operate within the current context. 285 => SUCCESS 286 [3] Recursion 287 The greater-than operator should properly recurse. 288 => SUCCESS 289 [4] Nested 290 The greater-than operator should work from within partials. 291 => SUCCESS 292 [5] Surrounding Whitespace 293 The greater-than operator should not alter surrounding whitespace. 294 => SUCCESS 295 [6] Inline Indentation 296 Whitespace should be left untouched. 297 => SUCCESS 298 [7] Standalone Line Endings 299 "\r\n" should be considered a newline for standalone tags. 300 => SUCCESS 301 [8] Standalone Without Previous Line 302 Standalone tags should not require a newline to precede them. 303 => SUCCESS 304 [9] Standalone Without Newline 305 Standalone tags should not require a newline to follow them. 306 => SUCCESS 307 [10] Standalone Indentation 308 Each line of the partial should be indented before rendering. 309 => SUCCESS 310 [11] Padding Whitespace 311 Superfluous in-tag whitespace should be ignored. 312 => SUCCESS 313 314 loading test-specs/spec/specs/sections.json 315 processing file test-specs/spec/specs/sections.json 316 [0] Truthy 317 Truthy sections should have their contents rendered. 318 => SUCCESS 319 [1] Falsey 320 Falsey sections should have their contents omitted. 321 => SUCCESS 322 [2] Null is falsey 323 Null is falsey. 324 => SUCCESS 325 [3] Context 326 Objects and hashes should be pushed onto the context stack. 327 => SUCCESS 328 [4] Parent contexts 329 Names missing in the current context are looked up in the stack. 330 => SUCCESS 331 [5] Variable test 332 Non-false sections have their value at the top of context, 333 accessible as {{.}} or through the parent context. This gives 334 a simple way to display content conditionally if a variable exists. 335 336 => SUCCESS 337 [6] List Contexts 338 All elements on the context stack should be accessible within lists. 339 => SUCCESS 340 [7] Deeply Nested Contexts 341 All elements on the context stack should be accessible. 342 => SUCCESS 343 [8] List 344 Lists should be iterated; list items should visit the context stack. 345 => SUCCESS 346 [9] Empty List 347 Empty lists should behave like falsey values. 348 => SUCCESS 349 [10] Doubled 350 Multiple sections per template should be permitted. 351 => SUCCESS 352 [11] Nested (Truthy) 353 Nested truthy sections should have their contents rendered. 354 => SUCCESS 355 [12] Nested (Falsey) 356 Nested falsey sections should be omitted. 357 => SUCCESS 358 [13] Context Misses 359 Failed context lookups should be considered falsey. 360 => SUCCESS 361 [14] Implicit Iterator - String 362 Implicit iterators should directly interpolate strings. 363 => SUCCESS 364 [15] Implicit Iterator - Integer 365 Implicit iterators should cast integers to strings and interpolate. 366 => SUCCESS 367 [16] Implicit Iterator - Decimal 368 Implicit iterators should cast decimals to strings and interpolate. 369 => DIFFERS 370 .. DATA[{"list":[1.1000000000000001,2.2000000000000002,3.2999999999999998,4.4000000000000004,5.5]}] 371 .. TEMPLATE["{{#list}}({{.}}){{/list}}"] 372 .. EXPECTED["(1.1)(2.2)(3.3)(4.4)(5.5)"] 373 .. GOT["(1.1000000000000001)(2.2000000000000002)(3.2999999999999998)(4.4000000000000004)(5.5)"] 374 [17] Implicit Iterator - Array 375 Implicit iterators should allow iterating over nested arrays. 376 => SUCCESS 377 [18] Implicit Iterator - HTML Escaping 378 Implicit iterators with basic interpolation should be HTML escaped. 379 => SUCCESS 380 [19] Implicit Iterator - Triple mustache 381 Implicit iterators in triple mustache should interpolate without HTML escaping. 382 => SUCCESS 383 [20] Implicit Iterator - Ampersand 384 Implicit iterators in an Ampersand tag should interpolate without HTML escaping. 385 => SUCCESS 386 [21] Implicit Iterator - Root-level 387 Implicit iterators should work on root-level lists. 388 => SUCCESS 389 [22] Dotted Names - Truthy 390 Dotted names should be valid for Section tags. 391 => SUCCESS 392 [23] Dotted Names - Falsey 393 Dotted names should be valid for Section tags. 394 => SUCCESS 395 [24] Dotted Names - Broken Chains 396 Dotted names that cannot be resolved should be considered falsey. 397 => SUCCESS 398 [25] Surrounding Whitespace 399 Sections should not alter surrounding whitespace. 400 => SUCCESS 401 [26] Internal Whitespace 402 Sections should not alter internal whitespace. 403 => SUCCESS 404 [27] Indented Inline Sections 405 Single-line sections should not alter surrounding whitespace. 406 => SUCCESS 407 [28] Standalone Lines 408 Standalone lines should be removed from the template. 409 => SUCCESS 410 [29] Indented Standalone Lines 411 Indented standalone lines should be removed from the template. 412 => SUCCESS 413 [30] Standalone Line Endings 414 "\r\n" should be considered a newline for standalone tags. 415 => SUCCESS 416 [31] Standalone Without Previous Line 417 Standalone tags should not require a newline to precede them. 418 => SUCCESS 419 [32] Standalone Without Newline 420 Standalone tags should not require a newline to follow them. 421 => SUCCESS 422 [33] Padding 423 Superfluous in-tag whitespace should be ignored. 424 => SUCCESS 425 426 summary: 427 error 0 428 differ 1 429 success 132