TAP version 13
# Test that for is enabled by default
ok 1 should throw
# Test that for does not bubble errors if it cannot find the appropriate arrayVar
ok 2 should be equal
# Test that entering a for loop provides the forloop.counter
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
ok 10 should be equal
ok 11 should be equal
ok 12 should be equal
# Test that entering a for loop provides the forloop.counter0
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
ok 21 should be equal
# Test that entering a for loop provides the forloop.revcounter
ok 22 should be equal
ok 23 should be equal
ok 24 should be equal
ok 25 should be equal
ok 26 should be equal
ok 27 should be equal
ok 28 should be equal
# Test that entering a for loop provides the forloop.revcounter0
ok 29 should be equal
ok 30 should be equal
# Test that entering a for loop provides the forloop.first
ok 31 should be equal
ok 32 should be equal
# Test that entering a for loop provides the forloop.last
ok 33 should be equal
ok 34 should be equal
ok 35 should be equal
ok 36 should be equal
ok 37 should be equal
ok 38 should be equal
# Test that entering a nested forloop provides forloop.parentloop
ok 39 should be equal
ok 40 should be equal
ok 41 should be equal
ok 42 should be equal
ok 43 should be equal
ok 44 should be equal
ok 45 should be equal
ok 46 should be equal
ok 47 should be equal
ok 48 should be equal
ok 49 should be equal
ok 50 should be equal
ok 51 should be equal
ok 52 should be equal
ok 53 should be equal
ok 54 should be equal
ok 55 should be equal
# Test that for unpacks variables as needed
ok 56 should be equal
TAP version 13
# Test that for is enabled by default
ok 1 should throw
# Test that for does not bubble errors if it cannot find the appropriate arrayVar
ok 2 should be equal
# Test that entering a for loop provides the forloop.counter
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
# Test that entering a for loop provides the forloop.counter0
ok 8 should be equal
ok 9 should be equal
ok 10 should be equal
# Test that entering a for loop provides the forloop.revcounter
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
# Test that entering a for loop provides the forloop.revcounter0
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
ok 21 should be equal
ok 22 should be equal
ok 23 should be equal
ok 24 should be equal
ok 25 should be equal
# Test that entering a for loop provides the forloop.first
ok 26 should be equal
ok 27 should be equal
ok 28 should be equal
ok 29 should be equal
# Test that entering a for loop provides the forloop.last
ok 30 should be equal
ok 31 should be equal
ok 32 should be equal
ok 33 should be equal
ok 34 should be equal
# Test that entering a nested forloop provides forloop.parentloop
ok 35 should be equal
ok 36 should be equal
ok 37 should be equal
ok 38 should be equal
ok 39 should be equal
ok 40 should be equal
ok 41 should be equal
ok 42 should be equal
ok 43 should be equal
ok 44 should be equal
ok 45 should be equal
ok 46 should be equal
ok 47 should be equal
ok 48 should be equal
ok 49 should be equal
ok 50 should be equal
ok 51 should be equal
ok 52 should be equal
ok 53 should be equal
ok 54 should be equal
ok 55 should be equal
ok 56 should be equal
ok 57 should be equal
ok 58 should be equal
ok 59 should be equal
ok 60 should be equal
ok 61 should be equal
ok 62 should be equal
ok 63 should be equal
ok 64 should be equal
ok 65 should be equal
ok 66 should be equal
ok 67 should be equal
ok 68 should be equal
ok 69 should be equal
ok 70 should be equal
ok 71 should be equal
# Test that for unpacks variables as needed
ok 72 should be equal
ok 73 should be equal
ok 74 should be equal
ok 75 should be equal
# Test that for can reverse the contents of an array prior to iteration
ok 76 should be equal
ok 77 should be equal
ok 78 should be equal
ok 79 should be equal
ok 80 should be equal
ok 81 should be equal
ok 82 should be equal
# Test that the with is enabled by default
ok 83 should throw
# Test that with adds the variable into context
ok 84 should be equal
ok 85 should be equal
# Test that with does not leak context variables
ok 86 should be equal
ok 87 should be equal
# Test that an unclosed with statement throws an error
ok 88 should be equal
ok 89 (unnamed assert)
# Test that if tag is enabled by default
ok 90 should throw
# Test that =, ==, and != work
ok 91 should be equal
# Test that in and not in work
ok 92 should be equal
ok 93 should be equal
ok 94 should be equal
ok 95 should be equal
ok 96 should be equal
# Test that >, <, <=, and >= work
ok 97 should be equal
# Test that extends does not trigger a parser error.
ok 98 should throw
# Test that extending a template produces super great results.
ok 99 should be equal
ok 100 should be equal
# Test that multilevel extending works
ok 101 should be equal
ok 102 should be equal
# Test that include does not trigger a parser error
ok 103 should throw
# Test that include will include the contents of the included template into the includer.
ok 104 should be equal
ok 105 should be equal
# Test that the loader plugin works with include
ok 106 should be equal
ok 107 should be equal
# Test that comment does not trigger a parser error
ok 108 should throw
# Test that comment omits all items wrapped inside the comment block.
ok 109 should be equal
# test that now defaults to now N y, J
ok 110 should be equal
# test that now can be configured with another argument
ok 111 should be equal
# Test the exception cases of plate.Template.
ok 112 should throw
ok 113 should throw
ok 114 should throw
ok 115 should throw
ok 116 should throw
ok 117 (unnamed assert)
ok 118 should be equal
ok 119 (unnamed assert)
ok 120 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 121 should be equal
# Test that filter nodes render as expected.
ok 122 should be equal
ok 123 should be equal
ok 124 should be equal
ok 125 should be equal
ok 126 should be equal
ok 127 should be equal
# Test that hitting an unknown tag triggers an error.
ok 128 should be equal
ok 129 (unnamed assert)
ok 130 should be equal
ok 131 should be equal
# Test that autoregistration of the tag library works as expected.
ok 132 should be equal
ok 133 should throw
# Test that autoregistration of the filter library works as expected.
ok 134 should be equal
ok 135 should throw
# Test that autoregistration of the plugin library works as expected.
ok 136 should be equal
ok 137 should throw
# Test obj.attr lookup failure (synchronous).
ok 138 (unnamed assert)
ok 139 should be equal
ok 140 (unnamed assert)
ok 141 should be equal
ok 142 (unnamed assert)
ok 143 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 144 (unnamed assert)
ok 145 should be equal
ok 146 (unnamed assert)
ok 147 should be equal
# Test obj|attr failure (synchronous and async).
ok 148 should be equal
ok 149 should be equal
# Test that the add filter works as expected
ok 150 should be equal
# Test that the addslashes filter works as expected
ok 151 should be equal
# Test that the capfirst filter works as expected
ok 152 should be equal
ok 153 should be equal
ok 154 should be equal
ok 155 should be equal
ok 156 should be equal
ok 157 should be equal
ok 158 should be equal
# Test that the center filter works as expected.
ok 159 should be equal
ok 160 should be equal
ok 161 should be equal
ok 162 should be equal
ok 163 should be equal
ok 164 should be equal
ok 165 should be equal
ok 166 should be equal
ok 167 should be equal
ok 168 should be equal
ok 169 should be equal
ok 170 should be equal
ok 171 should be equal
ok 172 should be equal
ok 173 should be equal
# Test that the cut filter works as expected
ok 174 should be equal
ok 175 should be equal
ok 176 should be equal
ok 177 should be equal
ok 178 should be equal
ok 179 should be equal
ok 180 should be equal
ok 181 should be equal
ok 182 should be equal
# Test that the date filter defaults to 'N j, Y'
ok 183 should be equal
# Test that the date filter accepts a format arg
ok 184 should be equal
# Test that the date filter accepts non-date arguments
ok 185 should be equal
ok 186 should be equal
# Test that the default filter works as expected
ok 187 should be equal
ok 188 should be equal
ok 189 should be equal
ok 190 should be equal
ok 191 should be equal
ok 192 should be equal
# Test that the dictsort filter works as expected
ok 193 should be equal
# Test that the dictsortreversed filter works as expected
ok 194 should be equal
ok 195 should be equal
ok 196 should be equal
ok 197 should be equal
ok 198 should be equal
ok 199 should be equal
ok 200 should be equal
# Test that the divisibleby filter works as expected
ok 201 should be equal
ok 202 should be equal
ok 203 should be equal
ok 204 should be equal
ok 205 should be equal
ok 206 should be equal
ok 207 should be equal
ok 208 should be equal
# Test that the filesizeformat filter works as expected
ok 209 should be equal
ok 210 should be equal
ok 211 should be equal
ok 212 should be equal
ok 213 should be equal
ok 214 should be equal
# Test that the first filter works as expected
ok 215 should be equal
# Test that the floatformat filter works as expected
ok 216 (unnamed assert)
ok 217 (unnamed assert)
ok 218 (unnamed assert)
ok 219 (unnamed assert)
ok 220 (unnamed assert)
ok 221 (unnamed assert)
ok 222 (unnamed assert)
ok 223 (unnamed assert)
ok 224 (unnamed assert)
ok 225 (unnamed assert)
# Test that the get_digit filter works as expected.
ok 226 should be equal
# Test that get_digit returns the original input when given a bad digit
ok 227 should be equal
# Test that the join filter works as expected.
ok 228 should be equal
# Test that last grabs the last element of a list.
ok 229 should be equal
# Test that length works with simple arrays.
ok 230 should be equal
# Test that length works with complex objects.
# Test that length_is works with simple arrays.
ok 231 should be equal
ok 232 should be equal
# Test that length_is works with complex objects.
# Test that linebreaks wraps all double-spaced elements in <p> tags.
ok 233 should be equal
# Test that linebreaks creates <br /> tags for all single newline characters.
ok 234 should be equal
ok 235 should be equal
# Test that linebreaksbr converts all newlines to br elements
ok 236 should be equal
# Test that linenumbers prepends line numbers to each line of input text.
ok 237 should be equal
# Test that ljust left justifies as expected.
ok 238 should be equal
ok 239 should be equal
ok 240 should be equal
ok 241 (unnamed assert)
ok 242 should be equal
ok 243 (unnamed assert)
ok 244 should be equal
ok 245 (unnamed assert)
ok 246 should be equal
ok 247 (unnamed assert)
ok 248 should be equal
ok 249 (unnamed assert)
ok 250 should be equal
ok 251 (unnamed assert)
# Test that lower works.
ok 252 (unnamed assert)
# Test that make_list just passes through arrays.
ok 253 should be equal
ok 254 should be equal
ok 255 should be equal
ok 256 should be equal
ok 257 should be equal
ok 258 should be equal
# Test that make_list works with strings.
ok 259 should be equal
ok 260 should be equal
ok 261 should be equal
ok 262 should be equal
ok 263 should be equal
ok 264 should be equal
ok 265 should be equal
ok 266 should be equal
ok 267 should be equal
ok 268 should be equal
ok 269 should be equal
ok 270 should be equal
ok 271 should be equal
ok 272 should be equal
ok 273 should be equal
ok 274 should be equal
ok 275 should be equal
ok 276 should be equal
ok 277 should be equal
ok 278 should be equal
ok 279 should be equal
ok 280 should be equal
ok 281 should be equal
ok 282 should be equal
ok 283 should be equal
ok 284 should be equal
# Test that make_list works with numbers.
ok 285 should be equal
ok 286 should be equal
ok 287 should be equal
# Test that phone2numeric works as expected.
ok 288 should be equal
# Assert that pluralize coerces single argument to plural case.
ok 289 should be equal
# Assert that pluralize coerces two arguments to singular, plural.
ok 290 should be equal
# Assert that random pulls an item out of an array randomly.
ok 291 (unnamed assert)
ok 292 (unnamed assert)
ok 293 (unnamed assert)
ok 294 (unnamed assert)
ok 295 (unnamed assert)
ok 296 (unnamed assert)
ok 297 (unnamed assert)
ok 298 (unnamed assert)
ok 299 (unnamed assert)
ok 300 (unnamed assert)
# Test that rjust right justifies as expected.
ok 301 (unnamed assert)
ok 302 (unnamed assert)
ok 303 (unnamed assert)
ok 304 (unnamed assert)
ok 305 (unnamed assert)
ok 306 (unnamed assert)
ok 307 (unnamed assert)
ok 308 (unnamed assert)
ok 309 (unnamed assert)
ok 310 (unnamed assert)
ok 311 (unnamed assert)
ok 312 (unnamed assert)
ok 313 (unnamed assert)
ok 314 (unnamed assert)
ok 315 (unnamed assert)
ok 316 (unnamed assert)
ok 317 (unnamed assert)
ok 318 (unnamed assert)
ok 319 (unnamed assert)
ok 320 (unnamed assert)
ok 321 (unnamed assert)
ok 322 (unnamed assert)
ok 323 (unnamed assert)
ok 324 (unnamed assert)
ok 325 (unnamed assert)
ok 326 (unnamed assert)
ok 327 (unnamed assert)
ok 328 (unnamed assert)
# Test that upper works.
ok 329 (unnamed assert)
# Test that HTML characters are escaped by default
ok 330 (unnamed assert)
ok 331 should be equal
# Test that HTML characters may be marked 'safe'
ok 332 (unnamed assert)
ok 333 should be equal
# Test that escape automatically escapes the input
ok 334 (unnamed assert)
ok 335 should be equal
# Test that escape does not double-escape the input
ok 336 (unnamed assert)
ok 337 should be equal
# Test that escape respects 'safe'
ok 338 (unnamed assert)
ok 339 should be equal
# Test that force_escape does not respect 'safe'
ok 340 (unnamed assert)
ok 341 should be equal
# Test that slice works with :N
ok 342 should be equal
ok 343 should be equal
# Test that slice works with N:
ok 344 should be equal
ok 345 should be equal
ok 346 should be equal
ok 347 should be equal
ok 348 should be equal
# Test that slugify removes unicode, turns spaces into dashes, lowercases everything.
ok 349 (unnamed assert)
# Test that timesince works as expected.
ok 350 (unnamed assert)
ok 351 should be equal
ok 352 should be equal
ok 353 should be equal
ok 354 should be equal
ok 355 should be equal
# Test that timesince may accept an input.
ok 356 (unnamed assert)
ok 357 should be equal
ok 358 should be equal
ok 359 should be equal
ok 360 should be equal
ok 361 should be equal
# Test that timesince displays the largest and second largest bit of multiple time values.
ok 362 (unnamed assert)
ok 363 should be equal
ok 364 should be equal
ok 365 should be equal
# Test that timesince displays '0 minutes' when time is in future, or when time is < 60 seconds away
ok 366 should be equal
ok 367 should be equal
# Test that title titlecases input.
ok 368 (unnamed assert)
ok 369 (unnamed assert)
ok 370 (unnamed assert)
ok 371 (unnamed assert)
ok 372 (unnamed assert)
ok 373 (unnamed assert)
ok 374 (unnamed assert)
ok 375 (unnamed assert)
# Test that striptags removes all HTML tags no matter how cool they are.
ok 376 (unnamed assert)
# Test that a string of characters gets truncated properly.
ok 377 should be equal
ok 378 should be equal
ok 379 should be equal
# Test that a busted number doesn't double call the callback.
ok 380 should be equal
# Test that a string of words gets truncated properly.
ok 381 should be equal
ok 382 should be equal
ok 383 should be equal
# Test that a busted number doesn't double call the callback.
ok 384 should be equal
# Test that unordered list... makes unordered lists. Awesome ones.
ok 385 should be equal
# Test that urlencode encodes all appropriate characters by using the built-in escape function.
ok 386 should be equal
# Test that urlize will turn urls of the form http://whatever.com/whatever, https://whatever.org/whatever into links.
ok 387 should be equal
# Assert that wordcount counts the number of words.
ok 388 should be equal
# Assert that wordwrap wraps lines at a given number.
ok 389 (unnamed assert)
ok 390 (unnamed assert)
ok 391 (unnamed assert)
ok 392 (unnamed assert)
ok 393 (unnamed assert)
ok 394 (unnamed assert)
ok 395 (unnamed assert)
ok 396 (unnamed assert)
ok 397 (unnamed assert)
# Test that the yesno filter coerces values into truthy,falsy
# Test that the yesno filter coerces values into true,false,maybe
ok 398 should be equal
ok 399 should be equal
ok 400 should be equal
ok 401 should be equal
ok 402 should be equal
ok 403 should be equal
# test that the formatter works as expected
ok 404 should be equal
ok 405 should be equal
ok 406 should be equal
ok 407 should be equal
ok 408 should be equal
ok 409 should be equal
ok 410 should be equal
ok 411 should be equal
ok 412 should be equal
ok 413 should be equal
ok 414 should be equal
ok 415 should be equal
ok 416 should be equal
ok 417 should be equal
ok 418 should be equal
ok 419 should be equal
ok 420 should be equal
ok 421 should be equal
ok 422 should be equal
ok 423 should be equal
ok 424 should be equal
ok 425 should be equal
ok 426 should be equal
ok 427 should be equal
ok 428 should be equal
ok 429 should be equal
ok 430 should be equal
ok 431 should be equal
ok 432 should be equal
ok 433 should be equal
ok 434 should be equal
ok 435 should be equal
ok 436 should be equal
ok 437 should be equal
ok 438 should be equal
ok 439 should be equal
ok 440 should be equal
# test of 'a'
ok 441 should be equal
# test of 'a'
ok 442 should be equal
# test of 'A'
ok 443 should be equal
# test of 'A'
ok 444 should be equal
# test of 'f'
ok 445 should be equal
# test of 'f'
ok 446 should be equal
# test of 'f'
ok 447 should be equal
# test of 'f'
ok 448 should be equal
# test of 'g'
ok 449 should be equal
# test of 'g'
ok 450 should be equal
# test of 'g'
ok 451 should be equal
# test of 'g'
ok 452 should be equal
# test of 'G'
ok 453 should be equal
# test of 'G'
ok 454 should be equal
# test of 'h'
ok 455 should be equal
# test of 'h'
ok 456 should be equal
# test of 'H'
ok 457 should be equal
# test of 'H'
ok 458 should be equal
# test of 'i'
ok 459 should be equal
# test of 'i'
ok 460 should be equal
# test of 'P'
ok 461 should be equal
# test of 'P'
ok 462 should be equal
# test of 'P'
ok 463 should be equal
# test of 'P'
ok 464 should be equal
# test of 'P'
ok 465 should be equal
# test of 's'
ok 466 should be equal
# test of 's'
ok 467 should be equal
# test of 's'
ok 468 should be equal
# test of 's'
ok 469 should be equal
# test of 'u'
ok 470 should be equal
# test of 'u'
ok 471 should be equal
# test of 'b'
ok 472 should be equal
# test of 'b'
ok 473 should be equal
# test of 'b'
ok 474 should be equal
# test of 'b'
ok 475 should be equal
# test of 'b'
ok 476 should be equal
# test of 'b'
ok 477 should be equal
# test of 'b'
ok 478 should be equal
# test of 'b'
ok 479 should be equal
# test of 'b'
ok 480 should be equal
# test of 'b'
ok 481 should be equal
# test of 'b'
ok 482 should be equal
# test of 'b'
ok 483 should be equal
# test of 'c'
ok 484 should be equal
# test of 'd'
ok 485 should be equal
# test of 'd'
ok 486 should be equal
# test of 'D'
ok 487 should be equal
# test of 'D'
ok 488 should be equal
# test of 'D'
ok 489 should be equal
# test of 'D'
ok 490 should be equal
# test of 'D'
ok 491 should be equal
# test of 'D'
ok 492 should be equal
# test of 'D'
ok 493 should be equal
# test of 'F'
ok 494 should be equal
# test of 'F'
ok 495 should be equal
# test of 'F'
ok 496 should be equal
# test of 'F'
ok 497 should be equal
# test of 'F'
ok 498 should be equal
# test of 'F'
ok 499 should be equal
# test of 'F'
ok 500 should be equal
# test of 'F'
ok 501 should be equal
# test of 'F'
ok 502 should be equal
# test of 'F'
ok 503 should be equal
# test of 'F'
ok 504 should be equal
# test of 'F'
ok 505 should be equal
# test of 'I'
ok 506 should be equal
# test of 'I'
not ok 507 should be equal
---
operator: equal
expected: "1"
actual: "0"
...
# test of 'j'
ok 508 should be equal
# test of 'j'
ok 509 should be equal
# test of 'l'
ok 510 should be equal
# test of 'l'
ok 511 should be equal
# test of 'l'
ok 512 should be equal
# test of 'l'
ok 513 should be equal
# test of 'l'
ok 514 should be equal
# test of 'l'
ok 515 should be equal
# test of 'l'
ok 516 should be equal
# test of 'L'
ok 517 should be equal
# test of 'L'
ok 518 should be equal
# test of 'm'
ok 519 should be equal
# test of 'm'
ok 520 should be equal
# test of 'm'
ok 521 should be equal
# test of 'm'
ok 522 should be equal
# test of 'm'
ok 523 should be equal
# test of 'm'
ok 524 should be equal
# test of 'm'
ok 525 should be equal
# test of 'm'
ok 526 should be equal
# test of 'm'
ok 527 should be equal
# test of 'm'
ok 528 should be equal
# test of 'm'
ok 529 should be equal
# test of 'm'
ok 530 should be equal
# test of 'M'
ok 531 should be equal
# test of 'M'
ok 532 should be equal
# test of 'M'
ok 533 should be equal
# test of 'M'
ok 534 should be equal
# test of 'M'
ok 535 should be equal
# test of 'M'
ok 536 should be equal
# test of 'M'
ok 537 should be equal
# test of 'M'
ok 538 should be equal
# test of 'M'
ok 539 should be equal
# test of 'M'
ok 540 should be equal
# test of 'M'
ok 541 should be equal
# test of 'M'
ok 542 should be equal
# test of 'n'
ok 543 should be equal
# test of 'n'
ok 544 should be equal
# test of 'n'
ok 545 should be equal
# test of 'n'
ok 546 should be equal
# test of 'n'
ok 547 should be equal
# test of 'n'
ok 548 should be equal
# test of 'n'
ok 549 should be equal
# test of 'n'
ok 550 should be equal
# test of 'n'
ok 551 should be equal
# test of 'n'
ok 552 should be equal
# test of 'n'
ok 553 should be equal
# test of 'n'
ok 554 should be equal
# test of 'N'
ok 555 should be equal
# test of 'N'
ok 556 should be equal
# test of 'N'
ok 557 should be equal
# test of 'N'
ok 558 should be equal
# test of 'N'
ok 559 should be equal
# test of 'N'
ok 560 should be equal
# test of 'N'
ok 561 should be equal
# test of 'N'
ok 562 should be equal
# test of 'N'
ok 563 should be equal
# test of 'N'
ok 564 should be equal
# test of 'N'
ok 565 should be equal
# test of 'N'
ok 566 should be equal
# test of 'O'
ok 567 should be equal
# test of 'O'
ok 568 should be equal
# test of 'O'
ok 569 should be equal
# test of 'r'
ok 570 should be equal
# test of 'S'
ok 571 should be equal
# test of 'S'
ok 572 should be equal
# test of 'S'
ok 573 should be equal
# test of 'S'
ok 574 should be equal
# test of 'S'
ok 575 should be equal
# test of 'S'
ok 576 should be equal
# test of 't'
ok 577 should be equal
# test of 't'
ok 578 should be equal
# test of 't'
ok 579 should be equal
# test of 't'
ok 580 should be equal
# test of 't'
ok 581 should be equal
# test of 't'
ok 582 should be equal
# test of 't'
ok 583 should be equal
# test of 't'
ok 584 should be equal
# test of 't'
ok 585 should be equal
# test of 't'
ok 586 should be equal
# test of 't'
ok 587 should be equal
# test of 't'
ok 588 should be equal
# test of 't'
ok 589 should be equal
# test of 'T'
ok 590 should be equal
# test of 'U'
ok 591 should be equal
# test of 'w'
ok 592 should be equal
# test of 'w'
ok 593 should be equal
# test of 'w'
ok 594 should be equal
# test of 'w'
ok 595 should be equal
# test of 'w'
ok 596 should be equal
# test of 'w'
ok 597 should be equal
# test of 'w'
ok 598 should be equal
# test ISO-8601 week number of year
ok 599 should be equal
ok 600 should be equal
ok 601 should be equal
ok 602 should be equal
ok 603 should be equal
ok 604 should be equal
ok 605 should be equal
ok 606 should be equal
ok 607 should be equal
ok 608 should be equal
ok 609 should be equal
ok 610 should be equal
ok 611 should be equal
ok 612 should be equal
ok 613 should be equal
ok 614 should be equal
ok 615 should be equal
ok 616 should be equal
ok 617 should be equal
ok 618 should be equal
ok 619 should be equal
ok 620 should be equal
ok 621 should be equal
ok 622 should be equal
ok 623 should be equal
ok 624 should be equal
ok 625 should be equal
ok 626 should be equal
ok 627 should be equal
ok 628 should be equal
ok 629 should be equal
ok 630 should be equal
ok 631 should be equal
ok 632 should be equal
ok 633 should be equal
ok 634 should be equal
ok 635 should be equal
ok 636 should be equal
ok 637 should be equal
ok 638 should be equal
ok 639 should be equal
ok 640 should be equal
ok 641 should be equal
ok 642 should be equal
ok 643 should be equal
ok 644 should be equal
ok 645 should be equal
ok 646 should be equal
ok 647 should be equal
ok 648 should be equal
ok 649 should be equal
ok 650 should be equal
# test of 'y'
ok 651 should be equal
# test of 'y'
ok 652 should be equal
# test of 'y'
ok 653 should be equal
# test of 'Y'
ok 654 should be equal
# test of 'Y'
ok 655 should be equal
# test of 'Y'
ok 656 should be equal
# test day of year
ok 657 should be equal
ok 658 should be equal
ok 659 should be equal
ok 660 should be equal
ok 661 should be equal
ok 662 should be equal
ok 663 should be equal
ok 664 should be equal
ok 665 should be equal
ok 666 should be equal
ok 667 should be equal
ok 668 should be equal
ok 669 should be equal
ok 670 should be equal
ok 671 should be equal
ok 672 should be equal
ok 673 should be equal
ok 674 should be equal
ok 675 should be equal
ok 676 should be equal
ok 677 should be equal
ok 678 should be equal
ok 679 should be equal
ok 680 should be equal
ok 681 should be equal
ok 682 should be equal
ok 683 should be equal
ok 684 should be equal
ok 685 should be equal
ok 686 should be equal
ok 687 should be equal
ok 688 should be equal
ok 689 should be equal
ok 690 should be equal
ok 691 should be equal
ok 692 should be equal
ok 693 should be equal
ok 694 should be equal
ok 695 should be equal
ok 696 should be equal
ok 697 should be equal
ok 698 should be equal
ok 699 should be equal
ok 700 should be equal
ok 701 should be equal
ok 702 should be equal
ok 703 should be equal
ok 704 should be equal
ok 705 should be equal
ok 706 should be equal
ok 707 should be equal
ok 708 should be equal
ok 709 should be equal
ok 710 should be equal
ok 711 should be equal
ok 712 should be equal
ok 713 should be equal
ok 714 should be equal
ok 715 should be equal
ok 716 should be equal
ok 717 should be equal
ok 718 should be equal
ok 719 should be equal
ok 720 should be equal
ok 721 should be equal
ok 722 should be equal
ok 723 should be equal
ok 724 should be equal
ok 725 should be equal
ok 726 should be equal
ok 727 should be equal
ok 728 should be equal
ok 729 should be equal
ok 730 should be equal
ok 731 should be equal
ok 732 should be equal
ok 733 should be equal
ok 734 should be equal
ok 735 should be equal
ok 736 should be equal
ok 737 should be equal
ok 738 should be equal
ok 739 should be equal
ok 740 should be equal
ok 741 should be equal
ok 742 should be equal
ok 743 should be equal
ok 744 should be equal
ok 745 should be equal
ok 746 should be equal
ok 747 should be equal
ok 748 should be equal
ok 749 should be equal
ok 750 should be equal
ok 751 should be equal
ok 752 should be equal
ok 753 should be equal
ok 754 should be equal
ok 755 should be equal
ok 756 should be equal
ok 757 should be equal
ok 758 should be equal
ok 759 should be equal
ok 760 should be equal
ok 761 should be equal
ok 762 should be equal
ok 763 should be equal
ok 764 should be equal
ok 765 should be equal
ok 766 should be equal
ok 767 should be equal
ok 768 should be equal
ok 769 should be equal
ok 770 should be equal
ok 771 should be equal
ok 772 should be equal
ok 773 should be equal
ok 774 should be equal
ok 775 should be equal
ok 776 should be equal
ok 777 should be equal
ok 778 should be equal
ok 779 should be equal
ok 780 should be equal
ok 781 should be equal
ok 782 should be equal
ok 783 should be equal
ok 784 should be equal
ok 785 should be equal
ok 786 should be equal
ok 787 should be equal
ok 788 should be equal
ok 789 should be equal
ok 790 should be equal
ok 791 should be equal
ok 792 should be equal
ok 793 should be equal
ok 794 should be equal
ok 795 should be equal
ok 796 should be equal
ok 797 should be equal
ok 798 should be equal
ok 799 should be equal
ok 800 should be equal
ok 801 should be equal
ok 802 should be equal
ok 803 should be equal
ok 804 should be equal
ok 805 should be equal
ok 806 should be equal
ok 807 should be equal
ok 808 should be equal
ok 809 should be equal
ok 810 should be equal
ok 811 should be equal
ok 812 should be equal
ok 813 should be equal
ok 814 should be equal
ok 815 should be equal
ok 816 should be equal
ok 817 should be equal
ok 818 should be equal
ok 819 should be equal
ok 820 should be equal
ok 821 should be equal
ok 822 should be equal
ok 823 should be equal
ok 824 should be equal
ok 825 should be equal
ok 826 should be equal
ok 827 should be equal
ok 828 should be equal
ok 829 should be equal
ok 830 should be equal
ok 831 should be equal
ok 832 should be equal
ok 833 should be equal
ok 834 should be equal
ok 835 should be equal
ok 836 should be equal
ok 837 should be equal
ok 838 should be equal
ok 839 should be equal
ok 840 should be equal
ok 841 should be equal
ok 842 should be equal
ok 843 should be equal
ok 844 should be equal
ok 845 should be equal
ok 846 should be equal
ok 847 should be equal
ok 848 should be equal
ok 849 should be equal
ok 850 should be equal
ok 851 should be equal
ok 852 should be equal
ok 853 should be equal
ok 854 should be equal
ok 855 should be equal
ok 856 should be equal
ok 857 should be equal
ok 858 should be equal
ok 859 should be equal
ok 860 should be equal
ok 861 should be equal
ok 862 should be equal
ok 863 should be equal
ok 864 should be equal
ok 865 should be equal
ok 866 should be equal
ok 867 should be equal
ok 868 should be equal
ok 869 should be equal
ok 870 should be equal
ok 871 should be equal
ok 872 should be equal
ok 873 should be equal
ok 874 should be equal
ok 875 should be equal
ok 876 should be equal
ok 877 should be equal
ok 878 should be equal
ok 879 should be equal
ok 880 should be equal
ok 881 should be equal
ok 882 should be equal
ok 883 should be equal
ok 884 should be equal
ok 885 should be equal
ok 886 should be equal
ok 887 should be equal
ok 888 should be equal
ok 889 should be equal
ok 890 should be equal
ok 891 should be equal
ok 892 should be equal
ok 893 should be equal
ok 894 should be equal
ok 895 should be equal
ok 896 should be equal
ok 897 should be equal
ok 898 should be equal
ok 899 should be equal
ok 900 should be equal
ok 901 should be equal
ok 902 should be equal
ok 903 should be equal
ok 904 should be equal
ok 905 should be equal
ok 906 should be equal
ok 907 should be equal
ok 908 should be equal
ok 909 should be equal
ok 910 should be equal
ok 911 should be equal
ok 912 should be equal
ok 913 should be equal
ok 914 should be equal
ok 915 should be equal
ok 916 should be equal
ok 917 should be equal
ok 918 should be equal
ok 919 should be equal
ok 920 should be equal
ok 921 should be equal
ok 922 should be equal
ok 923 should be equal
ok 924 should be equal
ok 925 should be equal
ok 926 should be equal
ok 927 should be equal
ok 928 should be equal
ok 929 should be equal
ok 930 should be equal
ok 931 should be equal
ok 932 should be equal
ok 933 should be equal
ok 934 should be equal
ok 935 should be equal
ok 936 should be equal
ok 937 should be equal
ok 938 should be equal
ok 939 should be equal
ok 940 should be equal
ok 941 should be equal
ok 942 should be equal
ok 943 should be equal
ok 944 should be equal
ok 945 should be equal
ok 946 should be equal
ok 947 should be equal
ok 948 should be equal
ok 949 should be equal
ok 950 should be equal
ok 951 should be equal
ok 952 should be equal
ok 953 should be equal
ok 954 should be equal
ok 955 should be equal
ok 956 should be equal
ok 957 should be equal
ok 958 should be equal
ok 959 should be equal
ok 960 should be equal
ok 961 should be equal
ok 962 should be equal
ok 963 should be equal
ok 964 should be equal
ok 965 should be equal
ok 966 should be equal
ok 967 should be equal
ok 968 should be equal
ok 969 should be equal
ok 970 should be equal
ok 971 should be equal
ok 972 should be equal
ok 973 should be equal
ok 974 should be equal
ok 975 should be equal
ok 976 should be equal
ok 977 should be equal
ok 978 should be equal
ok 979 should be equal
ok 980 should be equal
ok 981 should be equal
ok 982 should be equal
ok 983 should be equal
ok 984 should be equal
ok 985 should be equal
ok 986 should be equal
ok 987 should be equal
ok 988 should be equal
ok 989 should be equal
ok 990 should be equal
ok 991 should be equal
ok 992 should be equal
ok 993 should be equal
ok 994 should be equal
ok 995 should be equal
ok 996 should be equal
ok 997 should be equal
ok 998 should be equal
ok 999 should be equal
ok 1000 should be equal
ok 1001 should be equal
ok 1002 should be equal
ok 1003 should be equal
ok 1004 should be equal
ok 1005 should be equal
ok 1006 should be equal
ok 1007 should be equal
ok 1008 should be equal
ok 1009 should be equal
ok 1010 should be equal
ok 1011 should be equal
ok 1012 should be equal
ok 1013 should be equal
ok 1014 should be equal
ok 1015 should be equal
ok 1016 should be equal
ok 1017 should be equal
ok 1018 should be equal
ok 1019 should be equal
ok 1020 should be equal
ok 1021 should be equal
# test of 'Z'
ok 1022 should be equal
1..1022
# tests 1022
# pass 1021
# fail 1
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
# Test that the center filter works as expected.
ok 10 should be equal
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
ok 21 should be equal
ok 22 should be equal
ok 23 should be equal
ok 24 should be equal
ok 25 should be equal
ok 26 should be equal
ok 27 should be equal
ok 28 should be equal
ok 29 should be equal
ok 30 should be equal
# Test that the cut filter works as expected
ok 31 should be equal
ok 32 should be equal
ok 33 should be equal
ok 34 should be equal
ok 35 should be equal
ok 36 should be equal
ok 37 should be equal
ok 38 should be equal
ok 39 should be equal
# Test that the date filter defaults to 'N j, Y'
ok 40 should be equal
# Test that the date filter accepts a format arg
ok 41 should be equal
# Test that the date filter accepts non-date arguments
ok 42 should be equal
ok 43 should be equal
# Test that the default filter works as expected
ok 44 should be equal
ok 45 should be equal
ok 46 should be equal
ok 47 should be equal
ok 48 should be equal
ok 49 should be equal
# Test that the dictsort filter works as expected
ok 50 should be equal
# Test that the dictsortreversed filter works as expected
ok 51 should be equal
# Test that the divisibleby filter works as expected
ok 52 should be equal
ok 53 should be equal
ok 54 should be equal
ok 55 should be equal
ok 56 should be equal
ok 57 should be equal
ok 58 should be equal
# Test that the filesizeformat filter works as expected
ok 59 should be equal
ok 60 should be equal
ok 61 should be equal
ok 62 should be equal
ok 63 should be equal
ok 64 should be equal
# Test that the first filter works as expected
ok 65 should be equal
# Test that the floatformat filter works as expected
ok 66 (unnamed assert)
ok 67 (unnamed assert)
ok 68 (unnamed assert)
ok 69 (unnamed assert)
ok 70 (unnamed assert)
ok 71 (unnamed assert)
ok 72 (unnamed assert)
ok 73 (unnamed assert)
ok 74 (unnamed assert)
ok 75 (unnamed assert)
# Test that the get_digit filter works as expected.
ok 76 should be equal
# Test that get_digit returns the original input when given a bad digit
ok 77 should be equal
# Test that the join filter works as expected.
ok 78 should be equal
# Test that last grabs the last element of a list.
ok 79 should be equal
# Test that length works with simple arrays.
ok 80 should be equal
# Test that length works with complex objects.
# Test that length_is works with simple arrays.
ok 81 should be equal
ok 82 should be equal
# Test that length_is works with complex objects.
# Test that linebreaks wraps all double-spaced elements in <p> tags.
ok 83 should be equal
# Test that linebreaks creates <br /> tags for all single newline characters.
ok 84 should be equal
ok 85 should be equal
# Test that linebreaksbr converts all newlines to br elements
ok 86 should be equal
# Test that linenumbers prepends line numbers to each line of input text.
ok 87 should be equal
# Test that ljust left justifies as expected.
ok 88 should be equal
ok 89 should be equal
# Test that lower works.
ok 90 (unnamed assert)
# Test that make_list just passes through arrays.
ok 91 should be equal
ok 92 should be equal
ok 93 should be equal
ok 94 should be equal
ok 95 should be equal
ok 96 should be equal
# Test that make_list works with strings.
ok 97 should be equal
ok 98 should be equal
ok 99 should be equal
ok 100 should be equal
ok 101 should be equal
ok 102 should be equal
ok 103 should be equal
ok 104 should be equal
ok 105 should be equal
ok 106 should be equal
ok 107 should be equal
ok 108 should be equal
ok 109 should be equal
ok 110 should be equal
ok 111 should be equal
ok 112 should be equal
ok 113 should be equal
ok 114 should be equal
ok 115 should be equal
ok 116 should be equal
ok 117 should be equal
ok 118 should be equal
ok 119 should be equal
ok 120 should be equal
ok 121 should be equal
# Test that make_list works with numbers.
ok 122 should be equal
ok 123 should be equal
ok 124 should be equal
# Test that phone2numeric works as expected.
ok 125 should be equal
# Assert that pluralize coerces single argument to plural case.
ok 126 should be equal
# Assert that pluralize coerces two arguments to singular, plural.
ok 127 should be equal
# Assert that random pulls an item out of an array randomly.
ok 128 (unnamed assert)
ok 129 (unnamed assert)
ok 130 (unnamed assert)
ok 131 (unnamed assert)
ok 132 (unnamed assert)
ok 133 (unnamed assert)
ok 134 (unnamed assert)
ok 135 (unnamed assert)
ok 136 (unnamed assert)
ok 137 (unnamed assert)
# Test that rjust right justifies as expected.
ok 138 (unnamed assert)
# Test that upper works.
ok 139 (unnamed assert)
# Test that HTML characters are escaped by default
ok 140 (unnamed assert)
ok 141 should be equal
# Test that HTML characters may be marked 'safe'
ok 142 (unnamed assert)
ok 143 should be equal
# Test that escape automatically escapes the input
ok 144 (unnamed assert)
ok 145 should be equal
# Test that escape does not double-escape the input
ok 146 (unnamed assert)
ok 147 should be equal
# Test that escape respects 'safe'
ok 148 (unnamed assert)
ok 149 should be equal
# Test that force_escape does not respect 'safe'
ok 150 (unnamed assert)
ok 151 should be equal
# Test that slice works with :N
ok 152 should be equal
# Test that slice works with N:
ok 153 should be equal
ok 154 should be equal
# Test that slugify removes unicode, turns spaces into dashes, lowercases everything.
ok 155 (unnamed assert)
# Test that timesince works as expected.
ok 156 (unnamed assert)
ok 157 should be equal
ok 158 should be equal
ok 159 should be equal
ok 160 should be equal
ok 161 should be equal
# Test that timesince may accept an input.
ok 162 (unnamed assert)
ok 163 should be equal
ok 164 should be equal
ok 165 should be equal
ok 166 should be equal
ok 167 should be equal
# Test that timesince displays the largest and second largest bit of multiple time values.
ok 168 (unnamed assert)
ok 169 should be equal
ok 170 should be equal
ok 171 should be equal
# Test that timesince displays '0 minutes' when time is in future, or when time is < 60 seconds away
ok 172 should be equal
ok 173 should be equal
# Test that title titlecases input.
ok 174 (unnamed assert)
ok 175 (unnamed assert)
ok 176 (unnamed assert)
ok 177 (unnamed assert)
ok 178 (unnamed assert)
ok 179 (unnamed assert)
ok 180 (unnamed assert)
ok 181 (unnamed assert)
# Test that striptags removes all HTML tags no matter how cool they are.
ok 182 (unnamed assert)
# Test that a string of characters gets truncated properly.
ok 183 should be equal
ok 184 should be equal
ok 185 should be equal
# Test that a busted number doesn't double call the callback.
ok 186 should be equal
# Test that a string of words gets truncated properly.
ok 187 should be equal
ok 188 should be equal
ok 189 should be equal
# Test that a busted number doesn't double call the callback.
ok 190 should be equal
# Test that unordered list... makes unordered lists. Awesome ones.
ok 191 should be equal
# Test that urlencode encodes all appropriate characters by using the built-in escape function.
ok 192 should be equal
# Test that urlize will turn urls of the form http://whatever.com/whatever, https://whatever.org/whatever into links.
ok 193 should be equal
# Assert that wordcount counts the number of words.
ok 194 should be equal
# Assert that wordwrap wraps lines at a given number.
ok 195 (unnamed assert)
ok 196 (unnamed assert)
ok 197 (unnamed assert)
ok 198 (unnamed assert)
ok 199 (unnamed assert)
ok 200 (unnamed assert)
ok 201 (unnamed assert)
ok 202 (unnamed assert)
ok 203 (unnamed assert)
# Test that the yesno filter coerces values into truthy,falsy
# Test that the yesno filter coerces values into true,false,maybe
ok 204 should be equal
ok 205 should be equal
ok 206 should be equal
ok 207 should be equal
ok 208 should be equal
ok 209 should be equal
# Test the exception cases of plate.Template.
ok 210 should throw
ok 211 should throw
ok 212 should throw
ok 213 should throw
ok 214 should throw
ok 215 (unnamed assert)
ok 216 should be equal
ok 217 (unnamed assert)
ok 218 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 219 should be equal
# Test that filter nodes render as expected.
ok 220 should be equal
ok 221 should be equal
ok 222 should be equal
ok 223 should be equal
ok 224 should be equal
ok 225 should be equal
# Test that hitting an unknown tag triggers an error.
ok 226 should be equal
ok 227 (unnamed assert)
ok 228 should be equal
ok 229 should be equal
# Test that autoregistration of the tag library works as expected.
ok 230 should be equal
ok 231 should throw
# Test that autoregistration of the filter library works as expected.
ok 232 should be equal
ok 233 should throw
# Test that autoregistration of the plugin library works as expected.
ok 234 should be equal
ok 235 should throw
# Test obj.attr lookup failure (synchronous).
ok 236 (unnamed assert)
ok 237 should be equal
ok 238 (unnamed assert)
ok 239 should be equal
ok 240 (unnamed assert)
ok 241 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 242 (unnamed assert)
ok 243 should be equal
ok 244 (unnamed assert)
ok 245 should be equal
# Test obj|attr failure (synchronous and async).
ok 246 should be equal
ok 247 should be equal
# Test that for is enabled by default
ok 248 should throw
# Test that for does not bubble errors if it cannot find the appropriate arrayVar
ok 249 should be equal
# Test that entering a for loop provides the forloop.counter
ok 250 should be equal
ok 251 should be equal
ok 252 should be equal
ok 253 should be equal
ok 254 should be equal
ok 255 should be equal
ok 256 should be equal
ok 257 should be equal
ok 258 should be equal
ok 259 should be equal
# Test that entering a for loop provides the forloop.counter0
ok 260 should be equal
ok 261 should be equal
ok 262 should be equal
ok 263 should be equal
ok 264 should be equal
ok 265 should be equal
ok 266 should be equal
ok 267 should be equal
ok 268 should be equal
ok 269 should be equal
ok 270 should be equal
# Test that entering a for loop provides the forloop.revcounter
ok 271 should be equal
ok 272 should be equal
ok 273 should be equal
ok 274 should be equal
ok 275 should be equal
ok 276 should be equal
# Test that entering a for loop provides the forloop.revcounter0
ok 277 should be equal
ok 278 should be equal
ok 279 should be equal
ok 280 should be equal
ok 281 should be equal
ok 282 should be equal
ok 283 should be equal
ok 284 should be equal
ok 285 should be equal
ok 286 should be equal
# Test that entering a for loop provides the forloop.first
ok 287 should be equal
ok 288 should be equal
ok 289 should be equal
ok 290 should be equal
ok 291 should be equal
ok 292 should be equal
ok 293 should be equal
ok 294 should be equal
ok 295 should be equal
ok 296 should be equal
# Test that entering a for loop provides the forloop.last
ok 297 should be equal
ok 298 should be equal
ok 299 should be equal
ok 300 should be equal
ok 301 should be equal
ok 302 should be equal
ok 303 should be equal
ok 304 should be equal
ok 305 should be equal
ok 306 should be equal
# Test that entering a nested forloop provides forloop.parentloop
ok 307 should be equal
ok 308 should be equal
ok 309 should be equal
ok 310 should be equal
ok 311 should be equal
# Test that for unpacks variables as needed
ok 312 should be equal
ok 313 should be equal
ok 314 should be equal
ok 315 should be equal
ok 316 should be equal
ok 317 should be equal
ok 318 should be equal
ok 319 should be equal
# Test that for can reverse the contents of an array prior to iteration
ok 320 should be equal
ok 321 should be equal
ok 322 should be equal
ok 323 should be equal
ok 324 should be equal
# Test that the with is enabled by default
ok 325 should throw
# Test that with adds the variable into context
ok 326 should be equal
ok 327 should be equal
# Test that with does not leak context variables
ok 328 should be equal
ok 329 should be equal
# Test that an unclosed with statement throws an error
ok 330 should be equal
ok 331 (unnamed assert)
# Test that if tag is enabled by default
ok 332 should throw
# Test that =, ==, and != work
ok 333 should be equal
# Test that in and not in work
ok 334 should be equal
ok 335 should be equal
ok 336 should be equal
ok 337 should be equal
ok 338 should be equal
# Test that >, <, <=, and >= work
ok 339 should be equal
# Test that extends does not trigger a parser error.
ok 340 should throw
# Test that extending a template produces super great results.
ok 341 should be equal
ok 342 should be equal
# Test that multilevel extending works
ok 343 should be equal
ok 344 should be equal
# Test that include does not trigger a parser error
ok 345 should throw
# Test that include will include the contents of the included template into the includer.
ok 346 should be equal
ok 347 should be equal
# Test that the loader plugin works with include
ok 348 should be equal
ok 349 should be equal
# Test that comment does not trigger a parser error
ok 350 should throw
# Test that comment omits all items wrapped inside the comment block.
ok 351 should be equal
# test that now defaults to now N y, J
ok 352 should be equal
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
# Test that the center filter works as expected.
ok 10 should be equal
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
ok 21 should be equal
ok 22 should be equal
ok 23 should be equal
ok 24 should be equal
# Test that the cut filter works as expected
ok 25 should be equal
ok 26 should be equal
# Test that the date filter defaults to 'N j, Y'
ok 27 should be equal
# Test that the date filter accepts a format arg
ok 28 should be equal
# Test that the date filter accepts non-date arguments
ok 29 should be equal
ok 30 should be equal
# Test that the default filter works as expected
ok 31 should be equal
ok 32 should be equal
ok 33 should be equal
ok 34 should be equal
ok 35 should be equal
ok 36 should be equal
# Test that the dictsort filter works as expected
ok 37 should be equal
ok 38 should be equal
ok 39 should be equal
ok 40 should be equal
ok 41 should be equal
ok 42 should be equal
ok 43 should be equal
ok 44 should be equal
# Test that the dictsortreversed filter works as expected
ok 45 should be equal
ok 46 should be equal
ok 47 should be equal
ok 48 should be equal
ok 49 should be equal
ok 50 should be equal
ok 51 should be equal
ok 52 should be equal
ok 53 should be equal
ok 54 should be equal
# Test that the divisibleby filter works as expected
ok 55 should be equal
ok 56 should be equal
ok 57 should be equal
ok 58 should be equal
ok 59 should be equal
ok 60 should be equal
ok 61 should be equal
ok 62 should be equal
ok 63 should be equal
# Test that the filesizeformat filter works as expected
ok 64 should be equal
ok 65 should be equal
ok 66 should be equal
ok 67 should be equal
ok 68 should be equal
ok 69 should be equal
# Test that the first filter works as expected
ok 70 should be equal
# Test that the floatformat filter works as expected
ok 71 (unnamed assert)
ok 72 (unnamed assert)
ok 73 (unnamed assert)
ok 74 (unnamed assert)
ok 75 (unnamed assert)
ok 76 (unnamed assert)
ok 77 (unnamed assert)
ok 78 (unnamed assert)
ok 79 (unnamed assert)
ok 80 (unnamed assert)
# Test that the get_digit filter works as expected.
ok 81 should be equal
# Test that get_digit returns the original input when given a bad digit
ok 82 should be equal
# Test that the join filter works as expected.
ok 83 should be equal
# Test that last grabs the last element of a list.
ok 84 should be equal
# Test that length works with simple arrays.
ok 85 should be equal
# Test that length works with complex objects.
# Test that length_is works with simple arrays.
ok 86 should be equal
ok 87 should be equal
# Test that length_is works with complex objects.
# Test that linebreaks wraps all double-spaced elements in <p> tags.
ok 88 should be equal
# Test that linebreaks creates <br /> tags for all single newline characters.
ok 89 should be equal
ok 90 should be equal
# Test that linebreaksbr converts all newlines to br elements
ok 91 should be equal
# Test that linenumbers prepends line numbers to each line of input text.
ok 92 should be equal
# Test that ljust left justifies as expected.
ok 93 should be equal
ok 94 should be equal
ok 95 should be equal
ok 96 (unnamed assert)
ok 97 should be equal
ok 98 (unnamed assert)
ok 99 should be equal
ok 100 (unnamed assert)
ok 101 should be equal
ok 102 (unnamed assert)
ok 103 should be equal
ok 104 (unnamed assert)
ok 105 should be equal
ok 106 (unnamed assert)
ok 107 should be equal
ok 108 (unnamed assert)
ok 109 should be equal
ok 110 (unnamed assert)
ok 111 should be equal
ok 112 (unnamed assert)
ok 113 should be equal
ok 114 (unnamed assert)
ok 115 should be equal
ok 116 (unnamed assert)
ok 117 should be equal
ok 118 (unnamed assert)
ok 119 should be equal
ok 120 (unnamed assert)
ok 121 should be equal
ok 122 (unnamed assert)
ok 123 should be equal
ok 124 (unnamed assert)
ok 125 should be equal
ok 126 (unnamed assert)
ok 127 should be equal
ok 128 (unnamed assert)
# Test that lower works.
ok 129 (unnamed assert)
# Test that make_list just passes through arrays.
ok 130 should be equal
ok 131 should be equal
ok 132 should be equal
ok 133 should be equal
ok 134 should be equal
ok 135 should be equal
# Test that make_list works with strings.
ok 136 should be equal
ok 137 should be equal
ok 138 should be equal
ok 139 should be equal
ok 140 should be equal
ok 141 should be equal
ok 142 should be equal
ok 143 should be equal
ok 144 should be equal
ok 145 should be equal
ok 146 should be equal
ok 147 should be equal
ok 148 should be equal
ok 149 should be equal
ok 150 should be equal
ok 151 should be equal
ok 152 should be equal
ok 153 should be equal
ok 154 should be equal
ok 155 should be equal
ok 156 should be equal
ok 157 should be equal
ok 158 should be equal
ok 159 should be equal
ok 160 should be equal
# Test that make_list works with numbers.
ok 161 should be equal
ok 162 should be equal
ok 163 should be equal
# Test that phone2numeric works as expected.
ok 164 should be equal
# Assert that pluralize coerces single argument to plural case.
ok 165 should be equal
# Assert that pluralize coerces two arguments to singular, plural.
ok 166 should be equal
# Assert that random pulls an item out of an array randomly.
ok 167 (unnamed assert)
ok 168 (unnamed assert)
ok 169 (unnamed assert)
ok 170 (unnamed assert)
ok 171 (unnamed assert)
ok 172 (unnamed assert)
ok 173 (unnamed assert)
ok 174 (unnamed assert)
ok 175 (unnamed assert)
ok 176 (unnamed assert)
# Test that rjust right justifies as expected.
ok 177 (unnamed assert)
ok 178 (unnamed assert)
ok 179 (unnamed assert)
ok 180 (unnamed assert)
ok 181 (unnamed assert)
ok 182 (unnamed assert)
ok 183 (unnamed assert)
ok 184 (unnamed assert)
ok 185 (unnamed assert)
ok 186 (unnamed assert)
ok 187 (unnamed assert)
ok 188 (unnamed assert)
ok 189 (unnamed assert)
ok 190 (unnamed assert)
ok 191 (unnamed assert)
ok 192 (unnamed assert)
ok 193 (unnamed assert)
ok 194 (unnamed assert)
ok 195 (unnamed assert)
ok 196 (unnamed assert)
ok 197 (unnamed assert)
ok 198 (unnamed assert)
ok 199 (unnamed assert)
ok 200 (unnamed assert)
ok 201 (unnamed assert)
ok 202 (unnamed assert)
ok 203 (unnamed assert)
ok 204 (unnamed assert)
# Test that upper works.
ok 205 (unnamed assert)
# Test that HTML characters are escaped by default
ok 206 (unnamed assert)
ok 207 should be equal
# Test that HTML characters may be marked 'safe'
ok 208 (unnamed assert)
ok 209 should be equal
# Test that escape automatically escapes the input
ok 210 (unnamed assert)
ok 211 should be equal
# Test that escape does not double-escape the input
ok 212 (unnamed assert)
ok 213 should be equal
# Test that escape respects 'safe'
ok 214 (unnamed assert)
ok 215 should be equal
# Test that force_escape does not respect 'safe'
ok 216 (unnamed assert)
ok 217 should be equal
# Test that slice works with :N
ok 218 should be equal
ok 219 should be equal
ok 220 should be equal
# Test that slice works with N:
ok 221 should be equal
ok 222 should be equal
# Test that slugify removes unicode, turns spaces into dashes, lowercases everything.
ok 223 (unnamed assert)
# Test that timesince works as expected.
ok 224 (unnamed assert)
ok 225 should be equal
ok 226 should be equal
ok 227 should be equal
ok 228 should be equal
ok 229 should be equal
# Test that timesince may accept an input.
ok 230 (unnamed assert)
ok 231 should be equal
ok 232 should be equal
ok 233 should be equal
ok 234 should be equal
ok 235 should be equal
# Test that timesince displays the largest and second largest bit of multiple time values.
ok 236 (unnamed assert)
ok 237 should be equal
ok 238 should be equal
ok 239 should be equal
# Test that timesince displays '0 minutes' when time is in future, or when time is < 60 seconds away
ok 240 should be equal
ok 241 should be equal
# Test that title titlecases input.
ok 242 (unnamed assert)
ok 243 (unnamed assert)
ok 244 (unnamed assert)
ok 245 (unnamed assert)
ok 246 (unnamed assert)
ok 247 (unnamed assert)
ok 248 (unnamed assert)
ok 249 (unnamed assert)
# Test that striptags removes all HTML tags no matter how cool they are.
ok 250 (unnamed assert)
# Test that a string of characters gets truncated properly.
ok 251 should be equal
ok 252 should be equal
ok 253 should be equal
# Test that a busted number doesn't double call the callback.
ok 254 should be equal
# Test that a string of words gets truncated properly.
ok 255 should be equal
ok 256 should be equal
ok 257 should be equal
# Test that a busted number doesn't double call the callback.
ok 258 should be equal
# Test that unordered list... makes unordered lists. Awesome ones.
ok 259 should be equal
# Test that urlencode encodes all appropriate characters by using the built-in escape function.
ok 260 should be equal
# Test that urlize will turn urls of the form http://whatever.com/whatever, https://whatever.org/whatever into links.
ok 261 should be equal
# Assert that wordcount counts the number of words.
ok 262 should be equal
# Assert that wordwrap wraps lines at a given number.
ok 263 (unnamed assert)
ok 264 (unnamed assert)
ok 265 (unnamed assert)
ok 266 (unnamed assert)
ok 267 (unnamed assert)
ok 268 (unnamed assert)
ok 269 (unnamed assert)
ok 270 (unnamed assert)
ok 271 (unnamed assert)
# Test that the yesno filter coerces values into truthy,falsy
# Test that the yesno filter coerces values into true,false,maybe
ok 272 should be equal
ok 273 should be equal
ok 274 should be equal
ok 275 should be equal
ok 276 should be equal
ok 277 should be equal
# Test the exception cases of plate.Template.
ok 278 should throw
ok 279 should throw
ok 280 should throw
ok 281 should throw
ok 282 should throw
ok 283 (unnamed assert)
ok 284 should be equal
ok 285 (unnamed assert)
ok 286 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 287 should be equal
# Test that filter nodes render as expected.
ok 288 should be equal
ok 289 should be equal
ok 290 should be equal
ok 291 should be equal
ok 292 should be equal
ok 293 should be equal
# Test that hitting an unknown tag triggers an error.
ok 294 should be equal
ok 295 (unnamed assert)
ok 296 should be equal
ok 297 should be equal
# Test that autoregistration of the tag library works as expected.
ok 298 should be equal
ok 299 should throw
# Test that autoregistration of the filter library works as expected.
ok 300 should be equal
ok 301 should throw
# Test that autoregistration of the plugin library works as expected.
ok 302 should be equal
ok 303 should throw
# Test obj.attr lookup failure (synchronous).
ok 304 (unnamed assert)
ok 305 should be equal
ok 306 (unnamed assert)
ok 307 should be equal
ok 308 (unnamed assert)
ok 309 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 310 (unnamed assert)
ok 311 should be equal
ok 312 (unnamed assert)
ok 313 should be equal
# Test obj|attr failure (synchronous and async).
ok 314 should be equal
ok 315 should be equal
# Test that for is enabled by default
ok 316 should throw
# Test that for does not bubble errors if it cannot find the appropriate arrayVar
ok 317 should be equal
# Test that entering a for loop provides the forloop.counter
ok 318 should be equal
ok 319 should be equal
ok 320 should be equal
ok 321 should be equal
ok 322 should be equal
ok 323 should be equal
ok 324 should be equal
ok 325 should be equal
ok 326 should be equal
ok 327 should be equal
ok 328 should be equal
# Test that entering a for loop provides the forloop.counter0
ok 329 should be equal
ok 330 should be equal
ok 331 should be equal
ok 332 should be equal
ok 333 should be equal
ok 334 should be equal
ok 335 should be equal
ok 336 should be equal
# Test that entering a for loop provides the forloop.revcounter
ok 337 should be equal
ok 338 should be equal
ok 339 should be equal
# Test that entering a for loop provides the forloop.revcounter0
ok 340 should be equal
ok 341 should be equal
ok 342 should be equal
ok 343 should be equal
ok 344 should be equal
# Test that entering a for loop provides the forloop.first
ok 345 should be equal
ok 346 should be equal
# Test that entering a for loop provides the forloop.last
ok 347 should be equal
ok 348 should be equal
ok 349 should be equal
ok 350 should be equal
ok 351 should be equal
ok 352 should be equal
ok 353 should be equal
# Test that entering a nested forloop provides forloop.parentloop
ok 354 should be equal
ok 355 should be equal
# Test that for unpacks variables as needed
ok 356 should be equal
ok 357 should be equal
ok 358 should be equal
ok 359 should be equal
ok 360 should be equal
ok 361 should be equal
ok 362 should be equal
ok 363 should be equal
ok 364 should be equal
ok 365 should be equal
# Test that for can reverse the contents of an array prior to iteration
ok 366 should be equal
ok 367 should be equal
ok 368 should be equal
ok 369 should be equal
ok 370 should be equal
ok 371 should be equal
ok 372 should be equal
# Test that the with is enabled by default
ok 373 should throw
# Test that with adds the variable into context
ok 374 should be equal
ok 375 should be equal
# Test that with does not leak context variables
ok 376 should be equal
ok 377 should be equal
# Test that an unclosed with statement throws an error
ok 378 should be equal
ok 379 (unnamed assert)
# Test that if tag is enabled by default
ok 380 should throw
# Test that =, ==, and != work
ok 381 should be equal
# Test that in and not in work
ok 382 should be equal
ok 383 should be equal
ok 384 should be equal
ok 385 should be equal
ok 386 should be equal
# Test that >, <, <=, and >= work
ok 387 should be equal
# Test that extends does not trigger a parser error.
ok 388 should throw
# Test that extending a template produces super great results.
ok 389 should be equal
ok 390 should be equal
# Test that multilevel extending works
ok 391 should be equal
ok 392 should be equal
# Test that include does not trigger a parser error
ok 393 should throw
# Test that include will include the contents of the included template into the includer.
ok 394 should be equal
ok 395 should be equal
# Test that the loader plugin works with include
ok 396 should be equal
ok 397 should be equal
# Test that comment does not trigger a parser error
ok 398 should throw
# Test that comment omits all items wrapped inside the comment block.
ok 399 should be equal
# test that now defaults to now N y, J
ok 400 should be equal
# test that now can be configured with another argument
ok 401 should be equal
# test that the formatter works as expected
ok 402 should be equal
ok 403 should be equal
ok 404 should be equal
ok 405 should be equal
ok 406 should be equal
ok 407 should be equal
ok 408 should be equal
ok 409 should be equal
ok 410 should be equal
ok 411 should be equal
ok 412 should be equal
ok 413 should be equal
ok 414 should be equal
ok 415 should be equal
ok 416 should be equal
ok 417 should be equal
ok 418 should be equal
ok 419 should be equal
ok 420 should be equal
ok 421 should be equal
ok 422 should be equal
ok 423 should be equal
ok 424 should be equal
ok 425 should be equal
ok 426 should be equal
ok 427 should be equal
ok 428 should be equal
ok 429 should be equal
ok 430 should be equal
ok 431 should be equal
ok 432 should be equal
ok 433 should be equal
ok 434 should be equal
ok 435 should be equal
ok 436 should be equal
ok 437 should be equal
ok 438 should be equal
# test of 'a'
ok 439 should be equal
# test of 'a'
ok 440 should be equal
# test of 'A'
ok 441 should be equal
# test of 'A'
ok 442 should be equal
# test of 'f'
ok 443 should be equal
# test of 'f'
ok 444 should be equal
# test of 'f'
ok 445 should be equal
# test of 'f'
ok 446 should be equal
# test of 'g'
ok 447 should be equal
# test of 'g'
ok 448 should be equal
# test of 'g'
ok 449 should be equal
# test of 'g'
ok 450 should be equal
# test of 'G'
ok 451 should be equal
# test of 'G'
ok 452 should be equal
# test of 'h'
ok 453 should be equal
# test of 'h'
ok 454 should be equal
# test of 'H'
ok 455 should be equal
# test of 'H'
ok 456 should be equal
# test of 'i'
ok 457 should be equal
# test of 'i'
ok 458 should be equal
# test of 'P'
ok 459 should be equal
# test of 'P'
ok 460 should be equal
# test of 'P'
ok 461 should be equal
# test of 'P'
ok 462 should be equal
# test of 'P'
ok 463 should be equal
# test of 's'
ok 464 should be equal
# test of 's'
ok 465 should be equal
# test of 's'
ok 466 should be equal
# test of 's'
ok 467 should be equal
# test of 'u'
ok 468 should be equal
# test of 'u'
ok 469 should be equal
# test of 'b'
ok 470 should be equal
# test of 'b'
ok 471 should be equal
# test of 'b'
ok 472 should be equal
# test of 'b'
ok 473 should be equal
# test of 'b'
ok 474 should be equal
# test of 'b'
ok 475 should be equal
# test of 'b'
ok 476 should be equal
# test of 'b'
ok 477 should be equal
# test of 'b'
ok 478 should be equal
# test of 'b'
ok 479 should be equal
# test of 'b'
ok 480 should be equal
# test of 'b'
ok 481 should be equal
# test of 'c'
ok 482 should be equal
# test of 'd'
ok 483 should be equal
# test of 'd'
ok 484 should be equal
# test of 'D'
ok 485 should be equal
# test of 'D'
ok 486 should be equal
# test of 'D'
ok 487 should be equal
# test of 'D'
ok 488 should be equal
# test of 'D'
ok 489 should be equal
# test of 'D'
ok 490 should be equal
# test of 'D'
ok 491 should be equal
# test of 'F'
ok 492 should be equal
# test of 'F'
ok 493 should be equal
# test of 'F'
ok 494 should be equal
# test of 'F'
ok 495 should be equal
# test of 'F'
ok 496 should be equal
# test of 'F'
ok 497 should be equal
# test of 'F'
ok 498 should be equal
# test of 'F'
ok 499 should be equal
# test of 'F'
ok 500 should be equal
# test of 'F'
ok 501 should be equal
# test of 'F'
ok 502 should be equal
# test of 'F'
ok 503 should be equal
# test of 'I'
ok 504 should be equal
# test of 'I'
not ok 505 should be equal
---
operator: equal
expected: "1"
actual: "0"
...
# test of 'j'
ok 506 should be equal
# test of 'j'
ok 507 should be equal
# test of 'l'
ok 508 should be equal
# test of 'l'
ok 509 should be equal
# test of 'l'
ok 510 should be equal
# test of 'l'
ok 511 should be equal
# test of 'l'
ok 512 should be equal
# test of 'l'
ok 513 should be equal
# test of 'l'
ok 514 should be equal
# test of 'L'
ok 515 should be equal
# test of 'L'
ok 516 should be equal
# test of 'm'
ok 517 should be equal
# test of 'm'
ok 518 should be equal
# test of 'm'
ok 519 should be equal
# test of 'm'
ok 520 should be equal
# test of 'm'
ok 521 should be equal
# test of 'm'
ok 522 should be equal
# test of 'm'
ok 523 should be equal
# test of 'm'
ok 524 should be equal
# test of 'm'
ok 525 should be equal
# test of 'm'
ok 526 should be equal
# test of 'm'
ok 527 should be equal
# test of 'm'
ok 528 should be equal
# test of 'M'
ok 529 should be equal
# test of 'M'
ok 530 should be equal
# test of 'M'
ok 531 should be equal
# test of 'M'
ok 532 should be equal
# test of 'M'
ok 533 should be equal
# test of 'M'
ok 534 should be equal
# test of 'M'
ok 535 should be equal
# test of 'M'
ok 536 should be equal
# test of 'M'
ok 537 should be equal
# test of 'M'
ok 538 should be equal
# test of 'M'
ok 539 should be equal
# test of 'M'
ok 540 should be equal
# test of 'n'
ok 541 should be equal
# test of 'n'
ok 542 should be equal
# test of 'n'
ok 543 should be equal
# test of 'n'
ok 544 should be equal
# test of 'n'
ok 545 should be equal
# test of 'n'
ok 546 should be equal
# test of 'n'
ok 547 should be equal
# test of 'n'
ok 548 should be equal
# test of 'n'
ok 549 should be equal
# test of 'n'
ok 550 should be equal
# test of 'n'
ok 551 should be equal
# test of 'n'
ok 552 should be equal
# test of 'N'
ok 553 should be equal
# test of 'N'
ok 554 should be equal
# test of 'N'
ok 555 should be equal
# test of 'N'
ok 556 should be equal
# test of 'N'
ok 557 should be equal
# test of 'N'
ok 558 should be equal
# test of 'N'
ok 559 should be equal
# test of 'N'
ok 560 should be equal
# test of 'N'
ok 561 should be equal
# test of 'N'
ok 562 should be equal
# test of 'N'
ok 563 should be equal
# test of 'N'
ok 564 should be equal
# test of 'O'
ok 565 should be equal
# test of 'O'
ok 566 should be equal
# test of 'O'
ok 567 should be equal
# test of 'r'
ok 568 should be equal
# test of 'S'
ok 569 should be equal
# test of 'S'
ok 570 should be equal
# test of 'S'
ok 571 should be equal
# test of 'S'
ok 572 should be equal
# test of 'S'
ok 573 should be equal
# test of 'S'
ok 574 should be equal
# test of 't'
ok 575 should be equal
# test of 't'
ok 576 should be equal
# test of 't'
ok 577 should be equal
# test of 't'
ok 578 should be equal
# test of 't'
ok 579 should be equal
# test of 't'
ok 580 should be equal
# test of 't'
ok 581 should be equal
# test of 't'
ok 582 should be equal
# test of 't'
ok 583 should be equal
# test of 't'
ok 584 should be equal
# test of 't'
ok 585 should be equal
# test of 't'
ok 586 should be equal
# test of 't'
ok 587 should be equal
# test of 'T'
ok 588 should be equal
# test of 'U'
ok 589 should be equal
# test of 'w'
ok 590 should be equal
# test of 'w'
ok 591 should be equal
# test of 'w'
ok 592 should be equal
# test of 'w'
ok 593 should be equal
# test of 'w'
ok 594 should be equal
# test of 'w'
ok 595 should be equal
# test of 'w'
ok 596 should be equal
# test ISO-8601 week number of year
ok 597 should be equal
ok 598 should be equal
ok 599 should be equal
ok 600 should be equal
ok 601 should be equal
ok 602 should be equal
ok 603 should be equal
ok 604 should be equal
ok 605 should be equal
ok 606 should be equal
ok 607 should be equal
ok 608 should be equal
ok 609 should be equal
ok 610 should be equal
ok 611 should be equal
ok 612 should be equal
ok 613 should be equal
ok 614 should be equal
ok 615 should be equal
ok 616 should be equal
ok 617 should be equal
ok 618 should be equal
ok 619 should be equal
ok 620 should be equal
ok 621 should be equal
ok 622 should be equal
ok 623 should be equal
ok 624 should be equal
ok 625 should be equal
ok 626 should be equal
ok 627 should be equal
ok 628 should be equal
ok 629 should be equal
ok 630 should be equal
ok 631 should be equal
ok 632 should be equal
ok 633 should be equal
ok 634 should be equal
ok 635 should be equal
ok 636 should be equal
ok 637 should be equal
ok 638 should be equal
ok 639 should be equal
ok 640 should be equal
ok 641 should be equal
ok 642 should be equal
ok 643 should be equal
ok 644 should be equal
ok 645 should be equal
ok 646 should be equal
ok 647 should be equal
ok 648 should be equal
# test of 'y'
ok 649 should be equal
# test of 'y'
ok 650 should be equal
# test of 'y'
ok 651 should be equal
# test of 'Y'
ok 652 should be equal
# test of 'Y'
ok 653 should be equal
# test of 'Y'
ok 654 should be equal
# test day of year
ok 655 should be equal
ok 656 should be equal
ok 657 should be equal
ok 658 should be equal
ok 659 should be equal
ok 660 should be equal
ok 661 should be equal
ok 662 should be equal
ok 663 should be equal
ok 664 should be equal
ok 665 should be equal
ok 666 should be equal
ok 667 should be equal
ok 668 should be equal
ok 669 should be equal
ok 670 should be equal
ok 671 should be equal
ok 672 should be equal
ok 673 should be equal
ok 674 should be equal
ok 675 should be equal
ok 676 should be equal
ok 677 should be equal
ok 678 should be equal
ok 679 should be equal
ok 680 should be equal
ok 681 should be equal
ok 682 should be equal
ok 683 should be equal
ok 684 should be equal
ok 685 should be equal
ok 686 should be equal
ok 687 should be equal
ok 688 should be equal
ok 689 should be equal
ok 690 should be equal
ok 691 should be equal
ok 692 should be equal
ok 693 should be equal
ok 694 should be equal
ok 695 should be equal
ok 696 should be equal
ok 697 should be equal
ok 698 should be equal
ok 699 should be equal
ok 700 should be equal
ok 701 should be equal
ok 702 should be equal
ok 703 should be equal
ok 704 should be equal
ok 705 should be equal
ok 706 should be equal
ok 707 should be equal
ok 708 should be equal
ok 709 should be equal
ok 710 should be equal
ok 711 should be equal
ok 712 should be equal
ok 713 should be equal
ok 714 should be equal
ok 715 should be equal
ok 716 should be equal
ok 717 should be equal
ok 718 should be equal
ok 719 should be equal
ok 720 should be equal
ok 721 should be equal
ok 722 should be equal
ok 723 should be equal
ok 724 should be equal
ok 725 should be equal
ok 726 should be equal
ok 727 should be equal
ok 728 should be equal
ok 729 should be equal
ok 730 should be equal
ok 731 should be equal
ok 732 should be equal
ok 733 should be equal
ok 734 should be equal
ok 735 should be equal
ok 736 should be equal
ok 737 should be equal
ok 738 should be equal
ok 739 should be equal
ok 740 should be equal
ok 741 should be equal
ok 742 should be equal
ok 743 should be equal
ok 744 should be equal
ok 745 should be equal
ok 746 should be equal
ok 747 should be equal
ok 748 should be equal
ok 749 should be equal
ok 750 should be equal
ok 751 should be equal
ok 752 should be equal
ok 753 should be equal
ok 754 should be equal
ok 755 should be equal
ok 756 should be equal
ok 757 should be equal
ok 758 should be equal
ok 759 should be equal
ok 760 should be equal
ok 761 should be equal
ok 762 should be equal
ok 763 should be equal
ok 764 should be equal
ok 765 should be equal
ok 766 should be equal
ok 767 should be equal
ok 768 should be equal
ok 769 should be equal
ok 770 should be equal
ok 771 should be equal
ok 772 should be equal
ok 773 should be equal
ok 774 should be equal
ok 775 should be equal
ok 776 should be equal
ok 777 should be equal
ok 778 should be equal
ok 779 should be equal
ok 780 should be equal
ok 781 should be equal
ok 782 should be equal
ok 783 should be equal
ok 784 should be equal
ok 785 should be equal
ok 786 should be equal
ok 787 should be equal
ok 788 should be equal
ok 789 should be equal
ok 790 should be equal
ok 791 should be equal
ok 792 should be equal
ok 793 should be equal
ok 794 should be equal
ok 795 should be equal
ok 796 should be equal
ok 797 should be equal
ok 798 should be equal
ok 799 should be equal
ok 800 should be equal
ok 801 should be equal
ok 802 should be equal
ok 803 should be equal
ok 804 should be equal
ok 805 should be equal
ok 806 should be equal
ok 807 should be equal
ok 808 should be equal
ok 809 should be equal
ok 810 should be equal
ok 811 should be equal
ok 812 should be equal
ok 813 should be equal
ok 814 should be equal
ok 815 should be equal
ok 816 should be equal
ok 817 should be equal
ok 818 should be equal
ok 819 should be equal
ok 820 should be equal
ok 821 should be equal
ok 822 should be equal
ok 823 should be equal
ok 824 should be equal
ok 825 should be equal
ok 826 should be equal
ok 827 should be equal
ok 828 should be equal
ok 829 should be equal
ok 830 should be equal
ok 831 should be equal
ok 832 should be equal
ok 833 should be equal
ok 834 should be equal
ok 835 should be equal
ok 836 should be equal
ok 837 should be equal
ok 838 should be equal
ok 839 should be equal
ok 840 should be equal
ok 841 should be equal
ok 842 should be equal
ok 843 should be equal
ok 844 should be equal
ok 845 should be equal
ok 846 should be equal
ok 847 should be equal
ok 848 should be equal
ok 849 should be equal
ok 850 should be equal
ok 851 should be equal
ok 852 should be equal
ok 853 should be equal
ok 854 should be equal
ok 855 should be equal
ok 856 should be equal
ok 857 should be equal
ok 858 should be equal
ok 859 should be equal
ok 860 should be equal
ok 861 should be equal
ok 862 should be equal
ok 863 should be equal
ok 864 should be equal
ok 865 should be equal
ok 866 should be equal
ok 867 should be equal
ok 868 should be equal
ok 869 should be equal
ok 870 should be equal
ok 871 should be equal
ok 872 should be equal
ok 873 should be equal
ok 874 should be equal
ok 875 should be equal
ok 876 should be equal
ok 877 should be equal
ok 878 should be equal
ok 879 should be equal
ok 880 should be equal
ok 881 should be equal
ok 882 should be equal
ok 883 should be equal
ok 884 should be equal
ok 885 should be equal
ok 886 should be equal
ok 887 should be equal
ok 888 should be equal
ok 889 should be equal
ok 890 should be equal
ok 891 should be equal
ok 892 should be equal
ok 893 should be equal
ok 894 should be equal
ok 895 should be equal
ok 896 should be equal
ok 897 should be equal
ok 898 should be equal
ok 899 should be equal
ok 900 should be equal
ok 901 should be equal
ok 902 should be equal
ok 903 should be equal
ok 904 should be equal
ok 905 should be equal
ok 906 should be equal
ok 907 should be equal
ok 908 should be equal
ok 909 should be equal
ok 910 should be equal
ok 911 should be equal
ok 912 should be equal
ok 913 should be equal
ok 914 should be equal
ok 915 should be equal
ok 916 should be equal
ok 917 should be equal
ok 918 should be equal
ok 919 should be equal
ok 920 should be equal
ok 921 should be equal
ok 922 should be equal
ok 923 should be equal
ok 924 should be equal
ok 925 should be equal
ok 926 should be equal
ok 927 should be equal
ok 928 should be equal
ok 929 should be equal
ok 930 should be equal
ok 931 should be equal
ok 932 should be equal
ok 933 should be equal
ok 934 should be equal
ok 935 should be equal
ok 936 should be equal
ok 937 should be equal
ok 938 should be equal
ok 939 should be equal
ok 940 should be equal
ok 941 should be equal
ok 942 should be equal
ok 943 should be equal
ok 944 should be equal
ok 945 should be equal
ok 946 should be equal
ok 947 should be equal
ok 948 should be equal
ok 949 should be equal
ok 950 should be equal
ok 951 should be equal
ok 952 should be equal
ok 953 should be equal
ok 954 should be equal
ok 955 should be equal
ok 956 should be equal
ok 957 should be equal
ok 958 should be equal
ok 959 should be equal
ok 960 should be equal
ok 961 should be equal
ok 962 should be equal
ok 963 should be equal
ok 964 should be equal
ok 965 should be equal
ok 966 should be equal
ok 967 should be equal
ok 968 should be equal
ok 969 should be equal
ok 970 should be equal
ok 971 should be equal
ok 972 should be equal
ok 973 should be equal
ok 974 should be equal
ok 975 should be equal
ok 976 should be equal
ok 977 should be equal
ok 978 should be equal
ok 979 should be equal
ok 980 should be equal
ok 981 should be equal
ok 982 should be equal
ok 983 should be equal
ok 984 should be equal
ok 985 should be equal
ok 986 should be equal
ok 987 should be equal
ok 988 should be equal
ok 989 should be equal
ok 990 should be equal
ok 991 should be equal
ok 992 should be equal
ok 993 should be equal
ok 994 should be equal
ok 995 should be equal
ok 996 should be equal
ok 997 should be equal
ok 998 should be equal
ok 999 should be equal
ok 1000 should be equal
ok 1001 should be equal
ok 1002 should be equal
ok 1003 should be equal
ok 1004 should be equal
ok 1005 should be equal
ok 1006 should be equal
ok 1007 should be equal
ok 1008 should be equal
ok 1009 should be equal
ok 1010 should be equal
ok 1011 should be equal
ok 1012 should be equal
ok 1013 should be equal
ok 1014 should be equal
ok 1015 should be equal
ok 1016 should be equal
ok 1017 should be equal
ok 1018 should be equal
ok 1019 should be equal
# test of 'Z'
ok 1020 should be equal
1..1020
# tests 1020
# pass 1019
# fail 1
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
# Test that the center filter works as expected.
ok 10 should be equal
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
ok 21 should be equal
ok 22 should be equal
ok 23 should be equal
ok 24 should be equal
ok 25 should be equal
ok 26 should be equal
ok 27 should be equal
ok 28 should be equal
ok 29 should be equal
ok 30 should be equal
# Test that the cut filter works as expected
ok 31 should be equal
ok 32 should be equal
ok 33 should be equal
# Test that the date filter defaults to 'N j, Y'
ok 34 should be equal
# Test that the date filter accepts a format arg
ok 35 should be equal
# Test that the date filter accepts non-date arguments
ok 36 should be equal
ok 37 should be equal
# Test that the default filter works as expected
ok 38 should be equal
ok 39 should be equal
ok 40 should be equal
ok 41 should be equal
ok 42 should be equal
ok 43 should be equal
# Test that the dictsort filter works as expected
ok 44 should be equal
ok 45 should be equal
ok 46 should be equal
ok 47 should be equal
ok 48 should be equal
ok 49 should be equal
ok 50 should be equal
ok 51 should be equal
ok 52 should be equal
# Test that the dictsortreversed filter works as expected
ok 53 should be equal
ok 54 should be equal
ok 55 should be equal
ok 56 should be equal
ok 57 should be equal
ok 58 should be equal
ok 59 should be equal
# Test that the divisibleby filter works as expected
ok 60 should be equal
ok 61 should be equal
ok 62 should be equal
ok 63 should be equal
ok 64 should be equal
# Test that the filesizeformat filter works as expected
ok 65 should be equal
ok 66 should be equal
ok 67 should be equal
ok 68 should be equal
ok 69 should be equal
ok 70 should be equal
# Test that the first filter works as expected
ok 71 should be equal
# Test that the floatformat filter works as expected
ok 72 (unnamed assert)
ok 73 (unnamed assert)
ok 74 (unnamed assert)
ok 75 (unnamed assert)
ok 76 (unnamed assert)
ok 77 (unnamed assert)
ok 78 (unnamed assert)
ok 79 (unnamed assert)
ok 80 (unnamed assert)
ok 81 (unnamed assert)
# Test that the get_digit filter works as expected.
ok 82 should be equal
# Test that get_digit returns the original input when given a bad digit
ok 83 should be equal
# Test that the join filter works as expected.
ok 84 should be equal
# Test that last grabs the last element of a list.
ok 85 should be equal
# Test that length works with simple arrays.
ok 86 should be equal
# Test that length works with complex objects.
ok 87 should be equal
# Test that length_is works with simple arrays.
ok 88 should be equal
# Test that length_is works with complex objects.
ok 89 should be equal
# Test that linebreaks wraps all double-spaced elements in <p> tags.
ok 90 should be equal
# Test that linebreaks creates <br /> tags for all single newline characters.
ok 91 should be equal
# Test that linebreaksbr converts all newlines to br elements
ok 92 should be equal
# Test that linenumbers prepends line numbers to each line of input text.
ok 93 should be equal
# Test that ljust left justifies as expected.
ok 94 should be equal
ok 95 should be equal
ok 96 should be equal
ok 97 (unnamed assert)
ok 98 should be equal
ok 99 (unnamed assert)
ok 100 should be equal
ok 101 (unnamed assert)
ok 102 should be equal
ok 103 (unnamed assert)
ok 104 should be equal
ok 105 (unnamed assert)
ok 106 should be equal
ok 107 (unnamed assert)
ok 108 should be equal
ok 109 (unnamed assert)
ok 110 should be equal
ok 111 (unnamed assert)
ok 112 should be equal
ok 113 (unnamed assert)
ok 114 should be equal
ok 115 (unnamed assert)
ok 116 should be equal
ok 117 (unnamed assert)
ok 118 should be equal
ok 119 (unnamed assert)
ok 120 should be equal
ok 121 (unnamed assert)
ok 122 should be equal
ok 123 (unnamed assert)
ok 124 should be equal
ok 125 (unnamed assert)
ok 126 should be equal
ok 127 (unnamed assert)
ok 128 should be equal
ok 129 (unnamed assert)
ok 130 should be equal
ok 131 (unnamed assert)
# Test that lower works.
ok 132 (unnamed assert)
# Test that make_list just passes through arrays.
ok 133 should be equal
ok 134 should be equal
ok 135 should be equal
ok 136 should be equal
ok 137 should be equal
ok 138 should be equal
# Test that make_list works with strings.
ok 139 should be equal
ok 140 should be equal
ok 141 should be equal
ok 142 should be equal
ok 143 should be equal
ok 144 should be equal
ok 145 should be equal
ok 146 should be equal
ok 147 should be equal
ok 148 should be equal
ok 149 should be equal
ok 150 should be equal
ok 151 should be equal
ok 152 should be equal
ok 153 should be equal
ok 154 should be equal
ok 155 should be equal
ok 156 should be equal
ok 157 should be equal
ok 158 should be equal
ok 159 should be equal
ok 160 should be equal
ok 161 should be equal
ok 162 should be equal
# Test that make_list works with numbers.
ok 163 should be equal
ok 164 should be equal
ok 165 should be equal
# Test that phone2numeric works as expected.
ok 166 should be equal
# Assert that pluralize coerces single argument to plural case.
ok 167 should be equal
# Assert that pluralize coerces two arguments to singular, plural.
ok 168 should be equal
# Assert that random pulls an item out of an array randomly.
ok 169 (unnamed assert)
ok 170 (unnamed assert)
ok 171 (unnamed assert)
ok 172 (unnamed assert)
ok 173 (unnamed assert)
ok 174 (unnamed assert)
ok 175 (unnamed assert)
ok 176 (unnamed assert)
ok 177 (unnamed assert)
ok 178 (unnamed assert)
# Test that rjust right justifies as expected.
ok 179 (unnamed assert)
ok 180 (unnamed assert)
ok 181 (unnamed assert)
ok 182 (unnamed assert)
ok 183 (unnamed assert)
ok 184 (unnamed assert)
# Test that upper works.
ok 185 (unnamed assert)
# Test that HTML characters are escaped by default
ok 186 (unnamed assert)
ok 187 should be equal
# Test that HTML characters may be marked 'safe'
ok 188 (unnamed assert)
ok 189 should be equal
# Test that escape automatically escapes the input
ok 190 (unnamed assert)
ok 191 should be equal
# Test that escape does not double-escape the input
ok 192 (unnamed assert)
ok 193 should be equal
# Test that escape respects 'safe'
ok 194 (unnamed assert)
ok 195 should be equal
# Test that force_escape does not respect 'safe'
ok 196 (unnamed assert)
ok 197 should be equal
# Test that slice works with :N
ok 198 should be equal
ok 199 should be equal
ok 200 should be equal
ok 201 should be equal
# Test that slice works with N:
ok 202 should be equal
ok 203 should be equal
ok 204 should be equal
ok 205 should be equal
ok 206 should be equal
# Test that slugify removes unicode, turns spaces into dashes, lowercases everything.
ok 207 (unnamed assert)
# Test that timesince works as expected.
ok 208 (unnamed assert)
ok 209 should be equal
ok 210 should be equal
ok 211 should be equal
ok 212 should be equal
ok 213 should be equal
# Test that timesince may accept an input.
ok 214 (unnamed assert)
ok 215 should be equal
ok 216 should be equal
ok 217 should be equal
ok 218 should be equal
ok 219 should be equal
# Test that timesince displays the largest and second largest bit of multiple time values.
ok 220 (unnamed assert)
ok 221 should be equal
ok 222 should be equal
ok 223 should be equal
# Test that timesince displays '0 minutes' when time is in future, or when time is < 60 seconds away
ok 224 should be equal
ok 225 should be equal
# Test that title titlecases input.
ok 226 (unnamed assert)
ok 227 (unnamed assert)
ok 228 (unnamed assert)
ok 229 (unnamed assert)
ok 230 (unnamed assert)
ok 231 (unnamed assert)
ok 232 (unnamed assert)
ok 233 (unnamed assert)
# Test that striptags removes all HTML tags no matter how cool they are.
ok 234 (unnamed assert)
# Test that a string of characters gets truncated properly.
ok 235 should be equal
ok 236 should be equal
ok 237 should be equal
# Test that a busted number doesn't double call the callback.
ok 238 should be equal
# Test that a string of words gets truncated properly.
ok 239 should be equal
ok 240 should be equal
ok 241 should be equal
# Test that a busted number doesn't double call the callback.
ok 242 should be equal
# Test that unordered list... makes unordered lists. Awesome ones.
ok 243 should be equal
# Test that urlencode encodes all appropriate characters by using the built-in escape function.
ok 244 should be equal
# Test that urlize will turn urls of the form http://whatever.com/whatever, https://whatever.org/whatever into links.
ok 245 should be equal
# Assert that wordcount counts the number of words.
ok 246 should be equal
# Assert that wordwrap wraps lines at a given number.
ok 247 (unnamed assert)
ok 248 (unnamed assert)
ok 249 (unnamed assert)
ok 250 (unnamed assert)
ok 251 (unnamed assert)
ok 252 (unnamed assert)
ok 253 (unnamed assert)
ok 254 (unnamed assert)
ok 255 (unnamed assert)
# Test that the yesno filter coerces values into truthy,falsy
# Test that the yesno filter coerces values into true,false,maybe
ok 256 should be equal
ok 257 should be equal
ok 258 should be equal
ok 259 should be equal
ok 260 should be equal
ok 261 should be equal
# Test the exception cases of plate.Template.
ok 262 should throw
ok 263 should throw
ok 264 should throw
ok 265 should throw
ok 266 should throw
ok 267 (unnamed assert)
ok 268 should be equal
ok 269 (unnamed assert)
ok 270 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 271 should be equal
# Test that filter nodes render as expected.
ok 272 should be equal
ok 273 should be equal
ok 274 should be equal
ok 275 should be equal
ok 276 should be equal
ok 277 should be equal
ok 278 should be equal
ok 279 should be equal
# Test that hitting an unknown tag triggers an error.
ok 280 should be equal
ok 281 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 282 should be equal
ok 283 should throw
# Test that autoregistration of the filter library works as expected.
ok 284 should be equal
ok 285 should throw
# Test that autoregistration of the plugin library works as expected.
ok 286 should be equal
ok 287 should throw
# Test obj.attr lookup failure (synchronous).
ok 288 (unnamed assert)
ok 289 should be equal
ok 290 (unnamed assert)
ok 291 should be equal
ok 292 (unnamed assert)
ok 293 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 294 (unnamed assert)
ok 295 should be equal
ok 296 (unnamed assert)
ok 297 should be equal
# Test obj|attr failure (synchronous and async).
ok 298 should be equal
ok 299 should be equal
# Test that for is enabled by default
ok 300 should throw
# Test that for does not bubble errors if it cannot find the appropriate arrayVar
ok 301 should be equal
# Test that entering a for loop provides the forloop.counter
ok 302 should be equal
ok 303 should be equal
ok 304 should be equal
ok 305 should be equal
ok 306 should be equal
ok 307 should be equal
ok 308 should be equal
ok 309 should be equal
ok 310 should be equal
ok 311 should be equal
ok 312 should be equal
# Test that entering a for loop provides the forloop.counter0
ok 313 should be equal
ok 314 should be equal
ok 315 should be equal
# Test that entering a for loop provides the forloop.revcounter
ok 316 should be equal
ok 317 should be equal
ok 318 should be equal
ok 319 should be equal
# Test that entering a for loop provides the forloop.revcounter0
ok 320 should be equal
ok 321 should be equal
ok 322 should be equal
ok 323 should be equal
ok 324 should be equal
ok 325 should be equal
ok 326 should be equal
ok 327 should be equal
ok 328 should be equal
ok 329 should be equal
# Test that entering a for loop provides the forloop.first
ok 330 should be equal
ok 331 should be equal
ok 332 should be equal
ok 333 should be equal
ok 334 should be equal
ok 335 should be equal
ok 336 should be equal
ok 337 should be equal
ok 338 should be equal
ok 339 should be equal
ok 340 should be equal
# Test that entering a for loop provides the forloop.last
ok 341 should be equal
ok 342 should be equal
ok 343 should be equal
ok 344 should be equal
ok 345 should be equal
ok 346 should be equal
# Test that entering a nested forloop provides forloop.parentloop
ok 347 should be equal
ok 348 should be equal
ok 349 should be equal
ok 350 should be equal
ok 351 should be equal
ok 352 should be equal
ok 353 should be equal
ok 354 should be equal
ok 355 should be equal
ok 356 should be equal
ok 357 should be equal
ok 358 should be equal
ok 359 should be equal
ok 360 should be equal
ok 361 should be equal
ok 362 should be equal
ok 363 should be equal
ok 364 should be equal
ok 365 should be equal
ok 366 should be equal
ok 367 should be equal
ok 368 should be equal
ok 369 should be equal
ok 370 should be equal
ok 371 should be equal
ok 372 should be equal
ok 373 should be equal
ok 374 should be equal
ok 375 should be equal
ok 376 should be equal
ok 377 should be equal
ok 378 should be equal
ok 379 should be equal
ok 380 should be equal
ok 381 should be equal
ok 382 should be equal
ok 383 should be equal
ok 384 should be equal
ok 385 should be equal
ok 386 should be equal
ok 387 should be equal
ok 388 should be equal
ok 389 should be equal
ok 390 should be equal
ok 391 should be equal
ok 392 should be equal
ok 393 should be equal
ok 394 should be equal
ok 395 should be equal
ok 396 should be equal
ok 397 should be equal
ok 398 should be equal
ok 399 should be equal
ok 400 should be equal
ok 401 should be equal
ok 402 should be equal
ok 403 should be equal
ok 404 should be equal
ok 405 should be equal
ok 406 should be equal
ok 407 should be equal
ok 408 should be equal
ok 409 should be equal
ok 410 should be equal
ok 411 should be equal
ok 412 should be equal
ok 413 should be equal
ok 414 should be equal
ok 415 should be equal
ok 416 should be equal
ok 417 should be equal
ok 418 should be equal
ok 419 should be equal
ok 420 should be equal
ok 421 should be equal
ok 422 should be equal
ok 423 should be equal
ok 424 should be equal
ok 425 should be equal
ok 426 should be equal
ok 427 should be equal
ok 428 should be equal
# Test that for unpacks variables as needed
ok 429 should be equal
ok 430 should be equal
ok 431 should be equal
ok 432 should be equal
ok 433 should be equal
ok 434 should be equal
ok 435 should be equal
ok 436 should be equal
# Test that for can reverse the contents of an array prior to iteration
ok 437 should be equal
ok 438 should be equal
ok 439 should be equal
ok 440 should be equal
ok 441 should be equal
ok 442 should be equal
ok 443 should be equal
ok 444 should be equal
ok 445 should be equal
ok 446 should be equal
ok 447 should be equal
# Test that the with is enabled by default
ok 448 should throw
# Test that with adds the variable into context
ok 449 should be equal
ok 450 should be equal
# Test that with does not leak context variables
ok 451 should be equal
ok 452 should be equal
# Test that an unclosed with statement throws an error
ok 453 should be equal
ok 454 (unnamed assert)
# Test that if tag is enabled by default
ok 455 should throw
# Test that =, ==, and != work
ok 456 should be equal
# Test that in and not in work
ok 457 should be equal
ok 458 should be equal
ok 459 should be equal
ok 460 should be equal
ok 461 should be equal
# Test that >, <, <=, and >= work
ok 462 should be equal
# Test that extends does not trigger a parser error.
ok 463 should throw
# Test that extending a template produces super great results.
ok 464 should be equal
ok 465 should be equal
# Test that multilevel extending works
ok 466 should be equal
ok 467 should be equal
# Test that include does not trigger a parser error
ok 468 should throw
# Test that include will include the contents of the included template into the includer.
ok 469 should be equal
ok 470 should be equal
# Test that the loader plugin works with include
ok 471 should be equal
ok 472 should be equal
# Test that comment does not trigger a parser error
ok 473 should throw
# Test that comment omits all items wrapped inside the comment block.
ok 474 should be equal
# test that now defaults to now N y, J
ok 475 should be equal
# test that now can be configured with another argument
ok 476 should be equal
# test that the formatter works as expected
ok 477 should be equal
ok 478 should be equal
ok 479 should be equal
ok 480 should be equal
ok 481 should be equal
ok 482 should be equal
ok 483 should be equal
ok 484 should be equal
ok 485 should be equal
ok 486 should be equal
ok 487 should be equal
ok 488 should be equal
ok 489 should be equal
ok 490 should be equal
ok 491 should be equal
ok 492 should be equal
ok 493 should be equal
ok 494 should be equal
ok 495 should be equal
ok 496 should be equal
ok 497 should be equal
ok 498 should be equal
ok 499 should be equal
ok 500 should be equal
ok 501 should be equal
ok 502 should be equal
ok 503 should be equal
ok 504 should be equal
ok 505 should be equal
ok 506 should be equal
ok 507 should be equal
ok 508 should be equal
ok 509 should be equal
ok 510 should be equal
ok 511 should be equal
ok 512 should be equal
ok 513 should be equal
# test of 'a'
ok 514 should be equal
# test of 'a'
ok 515 should be equal
# test of 'A'
ok 516 should be equal
# test of 'A'
ok 517 should be equal
# test of 'f'
ok 518 should be equal
# test of 'f'
ok 519 should be equal
# test of 'f'
ok 520 should be equal
# test of 'f'
ok 521 should be equal
# test of 'g'
ok 522 should be equal
# test of 'g'
ok 523 should be equal
# test of 'g'
ok 524 should be equal
# test of 'g'
ok 525 should be equal
# test of 'G'
ok 526 should be equal
# test of 'G'
ok 527 should be equal
# test of 'h'
ok 528 should be equal
# test of 'h'
ok 529 should be equal
# test of 'H'
ok 530 should be equal
# test of 'H'
ok 531 should be equal
# test of 'i'
ok 532 should be equal
# test of 'i'
ok 533 should be equal
# test of 'P'
ok 534 should be equal
# test of 'P'
ok 535 should be equal
# test of 'P'
ok 536 should be equal
# test of 'P'
ok 537 should be equal
# test of 'P'
ok 538 should be equal
# test of 's'
ok 539 should be equal
# test of 's'
ok 540 should be equal
# test of 's'
ok 541 should be equal
# test of 's'
ok 542 should be equal
# test of 'u'
ok 543 should be equal
# test of 'u'
ok 544 should be equal
# test of 'b'
ok 545 should be equal
# test of 'b'
ok 546 should be equal
# test of 'b'
ok 547 should be equal
# test of 'b'
ok 548 should be equal
# test of 'b'
ok 549 should be equal
# test of 'b'
ok 550 should be equal
# test of 'b'
ok 551 should be equal
# test of 'b'
ok 552 should be equal
# test of 'b'
ok 553 should be equal
# test of 'b'
ok 554 should be equal
# test of 'b'
ok 555 should be equal
# test of 'b'
ok 556 should be equal
# test of 'c'
ok 557 should be equal
# test of 'd'
ok 558 should be equal
# test of 'd'
ok 559 should be equal
# test of 'D'
ok 560 should be equal
# test of 'D'
ok 561 should be equal
# test of 'D'
ok 562 should be equal
# test of 'D'
ok 563 should be equal
# test of 'D'
ok 564 should be equal
# test of 'D'
ok 565 should be equal
# test of 'D'
ok 566 should be equal
# test of 'F'
ok 567 should be equal
# test of 'F'
ok 568 should be equal
# test of 'F'
ok 569 should be equal
# test of 'F'
ok 570 should be equal
# test of 'F'
ok 571 should be equal
# test of 'F'
ok 572 should be equal
# test of 'F'
ok 573 should be equal
# test of 'F'
ok 574 should be equal
# test of 'F'
ok 575 should be equal
# test of 'F'
ok 576 should be equal
# test of 'F'
ok 577 should be equal
# test of 'F'
ok 578 should be equal
# test of 'I'
ok 579 should be equal
# test of 'I'
not ok 580 should be equal
---
operator: equal
expected: "1"
actual: "0"
...
# test of 'j'
ok 581 should be equal
# test of 'j'
ok 582 should be equal
# test of 'l'
ok 583 should be equal
# test of 'l'
ok 584 should be equal
# test of 'l'
ok 585 should be equal
# test of 'l'
ok 586 should be equal
# test of 'l'
ok 587 should be equal
# test of 'l'
ok 588 should be equal
# test of 'l'
ok 589 should be equal
# test of 'L'
ok 590 should be equal
# test of 'L'
ok 591 should be equal
# test of 'm'
ok 592 should be equal
# test of 'm'
ok 593 should be equal
# test of 'm'
ok 594 should be equal
# test of 'm'
ok 595 should be equal
# test of 'm'
ok 596 should be equal
# test of 'm'
ok 597 should be equal
# test of 'm'
ok 598 should be equal
# test of 'm'
ok 599 should be equal
# test of 'm'
ok 600 should be equal
# test of 'm'
ok 601 should be equal
# test of 'm'
ok 602 should be equal
# test of 'm'
ok 603 should be equal
# test of 'M'
ok 604 should be equal
# test of 'M'
ok 605 should be equal
# test of 'M'
ok 606 should be equal
# test of 'M'
ok 607 should be equal
# test of 'M'
ok 608 should be equal
# test of 'M'
ok 609 should be equal
# test of 'M'
ok 610 should be equal
# test of 'M'
ok 611 should be equal
# test of 'M'
ok 612 should be equal
# test of 'M'
ok 613 should be equal
# test of 'M'
ok 614 should be equal
# test of 'M'
ok 615 should be equal
# test of 'n'
ok 616 should be equal
# test of 'n'
ok 617 should be equal
# test of 'n'
ok 618 should be equal
# test of 'n'
ok 619 should be equal
# test of 'n'
ok 620 should be equal
# test of 'n'
ok 621 should be equal
# test of 'n'
ok 622 should be equal
# test of 'n'
ok 623 should be equal
# test of 'n'
ok 624 should be equal
# test of 'n'
ok 625 should be equal
# test of 'n'
ok 626 should be equal
# test of 'n'
ok 627 should be equal
# test of 'N'
ok 628 should be equal
# test of 'N'
ok 629 should be equal
# test of 'N'
ok 630 should be equal
# test of 'N'
ok 631 should be equal
# test of 'N'
ok 632 should be equal
# test of 'N'
ok 633 should be equal
# test of 'N'
ok 634 should be equal
# test of 'N'
ok 635 should be equal
# test of 'N'
ok 636 should be equal
# test of 'N'
ok 637 should be equal
# test of 'N'
ok 638 should be equal
# test of 'N'
ok 639 should be equal
# test of 'O'
ok 640 should be equal
# test of 'O'
ok 641 should be equal
# test of 'O'
ok 642 should be equal
# test of 'r'
ok 643 should be equal
# test of 'S'
ok 644 should be equal
# test of 'S'
ok 645 should be equal
# test of 'S'
ok 646 should be equal
# test of 'S'
ok 647 should be equal
# test of 'S'
ok 648 should be equal
# test of 'S'
ok 649 should be equal
# test of 't'
ok 650 should be equal
# test of 't'
ok 651 should be equal
# test of 't'
ok 652 should be equal
# test of 't'
ok 653 should be equal
# test of 't'
ok 654 should be equal
# test of 't'
ok 655 should be equal
# test of 't'
ok 656 should be equal
# test of 't'
ok 657 should be equal
# test of 't'
ok 658 should be equal
# test of 't'
ok 659 should be equal
# test of 't'
ok 660 should be equal
# test of 't'
ok 661 should be equal
# test of 't'
ok 662 should be equal
# test of 'T'
ok 663 should be equal
# test of 'U'
ok 664 should be equal
# test of 'w'
ok 665 should be equal
# test of 'w'
ok 666 should be equal
# test of 'w'
ok 667 should be equal
# test of 'w'
ok 668 should be equal
# test of 'w'
ok 669 should be equal
# test of 'w'
ok 670 should be equal
# test of 'w'
ok 671 should be equal
# test ISO-8601 week number of year
ok 672 should be equal
ok 673 should be equal
ok 674 should be equal
ok 675 should be equal
ok 676 should be equal
ok 677 should be equal
ok 678 should be equal
ok 679 should be equal
ok 680 should be equal
ok 681 should be equal
ok 682 should be equal
ok 683 should be equal
ok 684 should be equal
ok 685 should be equal
ok 686 should be equal
ok 687 should be equal
ok 688 should be equal
ok 689 should be equal
ok 690 should be equal
ok 691 should be equal
ok 692 should be equal
ok 693 should be equal
ok 694 should be equal
ok 695 should be equal
ok 696 should be equal
ok 697 should be equal
ok 698 should be equal
ok 699 should be equal
ok 700 should be equal
ok 701 should be equal
ok 702 should be equal
ok 703 should be equal
ok 704 should be equal
ok 705 should be equal
ok 706 should be equal
ok 707 should be equal
ok 708 should be equal
ok 709 should be equal
ok 710 should be equal
ok 711 should be equal
ok 712 should be equal
ok 713 should be equal
ok 714 should be equal
ok 715 should be equal
ok 716 should be equal
ok 717 should be equal
ok 718 should be equal
ok 719 should be equal
ok 720 should be equal
ok 721 should be equal
ok 722 should be equal
ok 723 should be equal
# test of 'y'
ok 724 should be equal
# test of 'y'
ok 725 should be equal
# test of 'y'
ok 726 should be equal
# test of 'Y'
ok 727 should be equal
# test of 'Y'
ok 728 should be equal
# test of 'Y'
ok 729 should be equal
# test day of year
ok 730 should be equal
ok 731 should be equal
ok 732 should be equal
ok 733 should be equal
ok 734 should be equal
ok 735 should be equal
ok 736 should be equal
ok 737 should be equal
ok 738 should be equal
ok 739 should be equal
ok 740 should be equal
ok 741 should be equal
ok 742 should be equal
ok 743 should be equal
ok 744 should be equal
ok 745 should be equal
ok 746 should be equal
ok 747 should be equal
ok 748 should be equal
ok 749 should be equal
ok 750 should be equal
ok 751 should be equal
ok 752 should be equal
ok 753 should be equal
ok 754 should be equal
ok 755 should be equal
ok 756 should be equal
ok 757 should be equal
ok 758 should be equal
ok 759 should be equal
ok 760 should be equal
ok 761 should be equal
ok 762 should be equal
ok 763 should be equal
ok 764 should be equal
ok 765 should be equal
ok 766 should be equal
ok 767 should be equal
ok 768 should be equal
ok 769 should be equal
ok 770 should be equal
ok 771 should be equal
ok 772 should be equal
ok 773 should be equal
ok 774 should be equal
ok 775 should be equal
ok 776 should be equal
ok 777 should be equal
ok 778 should be equal
ok 779 should be equal
ok 780 should be equal
ok 781 should be equal
ok 782 should be equal
ok 783 should be equal
ok 784 should be equal
ok 785 should be equal
ok 786 should be equal
ok 787 should be equal
ok 788 should be equal
ok 789 should be equal
ok 790 should be equal
ok 791 should be equal
ok 792 should be equal
ok 793 should be equal
ok 794 should be equal
ok 795 should be equal
ok 796 should be equal
ok 797 should be equal
ok 798 should be equal
ok 799 should be equal
ok 800 should be equal
ok 801 should be equal
ok 802 should be equal
ok 803 should be equal
ok 804 should be equal
ok 805 should be equal
ok 806 should be equal
ok 807 should be equal
ok 808 should be equal
ok 809 should be equal
ok 810 should be equal
ok 811 should be equal
ok 812 should be equal
ok 813 should be equal
ok 814 should be equal
ok 815 should be equal
ok 816 should be equal
ok 817 should be equal
ok 818 should be equal
ok 819 should be equal
ok 820 should be equal
ok 821 should be equal
ok 822 should be equal
ok 823 should be equal
ok 824 should be equal
ok 825 should be equal
ok 826 should be equal
ok 827 should be equal
ok 828 should be equal
ok 829 should be equal
ok 830 should be equal
ok 831 should be equal
ok 832 should be equal
ok 833 should be equal
ok 834 should be equal
ok 835 should be equal
ok 836 should be equal
ok 837 should be equal
ok 838 should be equal
ok 839 should be equal
ok 840 should be equal
ok 841 should be equal
ok 842 should be equal
ok 843 should be equal
ok 844 should be equal
ok 845 should be equal
ok 846 should be equal
ok 847 should be equal
ok 848 should be equal
ok 849 should be equal
ok 850 should be equal
ok 851 should be equal
ok 852 should be equal
ok 853 should be equal
ok 854 should be equal
ok 855 should be equal
ok 856 should be equal
ok 857 should be equal
ok 858 should be equal
ok 859 should be equal
ok 860 should be equal
ok 861 should be equal
ok 862 should be equal
ok 863 should be equal
ok 864 should be equal
ok 865 should be equal
ok 866 should be equal
ok 867 should be equal
ok 868 should be equal
ok 869 should be equal
ok 870 should be equal
ok 871 should be equal
ok 872 should be equal
ok 873 should be equal
ok 874 should be equal
ok 875 should be equal
ok 876 should be equal
ok 877 should be equal
ok 878 should be equal
ok 879 should be equal
ok 880 should be equal
ok 881 should be equal
ok 882 should be equal
ok 883 should be equal
ok 884 should be equal
ok 885 should be equal
ok 886 should be equal
ok 887 should be equal
ok 888 should be equal
ok 889 should be equal
ok 890 should be equal
ok 891 should be equal
ok 892 should be equal
ok 893 should be equal
ok 894 should be equal
ok 895 should be equal
ok 896 should be equal
ok 897 should be equal
ok 898 should be equal
ok 899 should be equal
ok 900 should be equal
ok 901 should be equal
ok 902 should be equal
ok 903 should be equal
ok 904 should be equal
ok 905 should be equal
ok 906 should be equal
ok 907 should be equal
ok 908 should be equal
ok 909 should be equal
ok 910 should be equal
ok 911 should be equal
ok 912 should be equal
ok 913 should be equal
ok 914 should be equal
ok 915 should be equal
ok 916 should be equal
ok 917 should be equal
ok 918 should be equal
ok 919 should be equal
ok 920 should be equal
ok 921 should be equal
ok 922 should be equal
ok 923 should be equal
ok 924 should be equal
ok 925 should be equal
ok 926 should be equal
ok 927 should be equal
ok 928 should be equal
ok 929 should be equal
ok 930 should be equal
ok 931 should be equal
ok 932 should be equal
ok 933 should be equal
ok 934 should be equal
ok 935 should be equal
ok 936 should be equal
ok 937 should be equal
ok 938 should be equal
ok 939 should be equal
ok 940 should be equal
ok 941 should be equal
ok 942 should be equal
ok 943 should be equal
ok 944 should be equal
ok 945 should be equal
ok 946 should be equal
ok 947 should be equal
ok 948 should be equal
ok 949 should be equal
ok 950 should be equal
ok 951 should be equal
ok 952 should be equal
ok 953 should be equal
ok 954 should be equal
ok 955 should be equal
ok 956 should be equal
ok 957 should be equal
ok 958 should be equal
ok 959 should be equal
ok 960 should be equal
ok 961 should be equal
ok 962 should be equal
ok 963 should be equal
ok 964 should be equal
ok 965 should be equal
ok 966 should be equal
ok 967 should be equal
ok 968 should be equal
ok 969 should be equal
ok 970 should be equal
ok 971 should be equal
ok 972 should be equal
ok 973 should be equal
ok 974 should be equal
ok 975 should be equal
ok 976 should be equal
ok 977 should be equal
ok 978 should be equal
ok 979 should be equal
ok 980 should be equal
ok 981 should be equal
ok 982 should be equal
ok 983 should be equal
ok 984 should be equal
ok 985 should be equal
ok 986 should be equal
ok 987 should be equal
ok 988 should be equal
ok 989 should be equal
ok 990 should be equal
ok 991 should be equal
ok 992 should be equal
ok 993 should be equal
ok 994 should be equal
ok 995 should be equal
ok 996 should be equal
ok 997 should be equal
ok 998 should be equal
ok 999 should be equal
ok 1000 should be equal
ok 1001 should be equal
ok 1002 should be equal
ok 1003 should be equal
ok 1004 should be equal
ok 1005 should be equal
ok 1006 should be equal
ok 1007 should be equal
ok 1008 should be equal
ok 1009 should be equal
ok 1010 should be equal
ok 1011 should be equal
ok 1012 should be equal
ok 1013 should be equal
ok 1014 should be equal
ok 1015 should be equal
ok 1016 should be equal
ok 1017 should be equal
ok 1018 should be equal
ok 1019 should be equal
ok 1020 should be equal
ok 1021 should be equal
ok 1022 should be equal
ok 1023 should be equal
ok 1024 should be equal
ok 1025 should be equal
ok 1026 should be equal
ok 1027 should be equal
ok 1028 should be equal
ok 1029 should be equal
ok 1030 should be equal
ok 1031 should be equal
ok 1032 should be equal
ok 1033 should be equal
ok 1034 should be equal
ok 1035 should be equal
ok 1036 should be equal
ok 1037 should be equal
ok 1038 should be equal
ok 1039 should be equal
ok 1040 should be equal
ok 1041 should be equal
ok 1042 should be equal
ok 1043 should be equal
ok 1044 should be equal
ok 1045 should be equal
ok 1046 should be equal
ok 1047 should be equal
ok 1048 should be equal
ok 1049 should be equal
ok 1050 should be equal
ok 1051 should be equal
ok 1052 should be equal
ok 1053 should be equal
ok 1054 should be equal
ok 1055 should be equal
ok 1056 should be equal
ok 1057 should be equal
ok 1058 should be equal
ok 1059 should be equal
ok 1060 should be equal
ok 1061 should be equal
ok 1062 should be equal
ok 1063 should be equal
ok 1064 should be equal
ok 1065 should be equal
ok 1066 should be equal
ok 1067 should be equal
ok 1068 should be equal
ok 1069 should be equal
ok 1070 should be equal
ok 1071 should be equal
ok 1072 should be equal
ok 1073 should be equal
ok 1074 should be equal
ok 1075 should be equal
ok 1076 should be equal
ok 1077 should be equal
ok 1078 should be equal
ok 1079 should be equal
ok 1080 should be equal
ok 1081 should be equal
ok 1082 should be equal
ok 1083 should be equal
ok 1084 should be equal
ok 1085 should be equal
ok 1086 should be equal
ok 1087 should be equal
ok 1088 should be equal
ok 1089 should be equal
ok 1090 should be equal
ok 1091 should be equal
ok 1092 should be equal
ok 1093 should be equal
ok 1094 should be equal
# test of 'Z'
ok 1095 should be equal
1..1095
# tests 1095
# pass 1094
# fail 1
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
# Test that the center filter works as expected.
ok 10 should be equal
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
ok 21 should be equal
ok 22 should be equal
ok 23 should be equal
ok 24 should be equal
ok 25 should be equal
ok 26 should be equal
# Test that the cut filter works as expected
# Test that the date filter defaults to 'N j, Y'
ok 27 should be equal
# Test that the date filter accepts a format arg
ok 28 should be equal
# Test that the date filter accepts non-date arguments
ok 29 should be equal
ok 30 should be equal
# Test that the default filter works as expected
ok 31 should be equal
ok 32 should be equal
ok 33 should be equal
ok 34 should be equal
ok 35 should be equal
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
# Test that the center filter works as expected.
ok 10 should be equal
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
ok 21 should be equal
ok 22 should be equal
ok 23 should be equal
ok 24 should be equal
ok 25 should be equal
ok 26 should be equal
# Test that the cut filter works as expected
ok 27 should be equal
ok 28 should be equal
ok 29 should be equal
ok 30 should be equal
ok 31 should be equal
# Test that the date filter defaults to 'N j, Y'
ok 32 should be equal
# Test that the date filter accepts a format arg
ok 33 should be equal
# Test that the date filter accepts non-date arguments
ok 34 should be equal
ok 35 should be equal
# Test that the default filter works as expected
ok 36 should be equal
ok 37 should be equal
ok 38 should be equal
ok 39 should be equal
ok 40 should be equal
ok 41 should be equal
# Test that the dictsort filter works as expected
ok 42 should be equal
ok 43 should be equal
ok 44 should be equal
ok 45 should be equal
ok 46 should be equal
ok 47 should be equal
# Test that the dictsortreversed filter works as expected
ok 48 should be equal
ok 49 should be equal
ok 50 should be equal
# Test that the divisibleby filter works as expected
ok 51 should be equal
ok 52 should be equal
ok 53 should be equal
ok 54 should be equal
ok 55 should be equal
ok 56 should be equal
ok 57 should be equal
# Test that the filesizeformat filter works as expected
ok 58 should be equal
ok 59 should be equal
ok 60 should be equal
ok 61 should be equal
ok 62 should be equal
ok 63 should be equal
# Test that the first filter works as expected
ok 64 should be equal
# Test that the floatformat filter works as expected
ok 65 (unnamed assert)
ok 66 (unnamed assert)
ok 67 (unnamed assert)
ok 68 (unnamed assert)
ok 69 (unnamed assert)
ok 70 (unnamed assert)
ok 71 (unnamed assert)
ok 72 (unnamed assert)
ok 73 (unnamed assert)
ok 74 (unnamed assert)
# Test that the get_digit filter works as expected.
ok 75 should be equal
# Test that get_digit returns the original input when given a bad digit
ok 76 should be equal
# Test that the join filter works as expected.
ok 77 should be equal
# Test that last grabs the last element of a list.
ok 78 should be equal
# Test that length works with simple arrays.
ok 79 should be equal
# Test that length works with complex objects.
ok 80 should be equal
# Test that length_is works with simple arrays.
ok 81 should be equal
# Test that length_is works with complex objects.
ok 82 should be equal
# Test that linebreaks wraps all double-spaced elements in <p> tags.
ok 83 should be equal
# Test that linebreaks creates <br /> tags for all single newline characters.
ok 84 should be equal
# Test that linebreaksbr converts all newlines to br elements
ok 85 should be equal
# Test that linenumbers prepends line numbers to each line of input text.
ok 86 should be equal
# Test that ljust left justifies as expected.
ok 87 should be equal
ok 88 should be equal
ok 89 should be equal
ok 90 (unnamed assert)
ok 91 should be equal
ok 92 (unnamed assert)
ok 93 should be equal
ok 94 (unnamed assert)
ok 95 should be equal
ok 96 (unnamed assert)
ok 97 should be equal
ok 98 (unnamed assert)
ok 99 should be equal
ok 100 (unnamed assert)
ok 101 should be equal
ok 102 (unnamed assert)
ok 103 should be equal
ok 104 (unnamed assert)
ok 105 should be equal
ok 106 (unnamed assert)
ok 107 should be equal
ok 108 (unnamed assert)
ok 109 should be equal
ok 110 (unnamed assert)
ok 111 should be equal
ok 112 (unnamed assert)
ok 113 should be equal
ok 114 (unnamed assert)
ok 115 should be equal
ok 116 (unnamed assert)
ok 117 should be equal
ok 118 (unnamed assert)
ok 119 should be equal
ok 120 (unnamed assert)
ok 121 should be equal
ok 122 (unnamed assert)
ok 123 should be equal
ok 124 (unnamed assert)
# Test that lower works.
ok 125 (unnamed assert)
# Test that make_list just passes through arrays.
ok 126 should be equal
ok 127 should be equal
ok 128 should be equal
ok 129 should be equal
ok 130 should be equal
ok 131 should be equal
# Test that make_list works with strings.
ok 132 should be equal
ok 133 should be equal
ok 134 should be equal
ok 135 should be equal
ok 136 should be equal
ok 137 should be equal
ok 138 should be equal
ok 139 should be equal
ok 140 should be equal
ok 141 should be equal
ok 142 should be equal
ok 143 should be equal
ok 144 should be equal
ok 145 should be equal
ok 146 should be equal
ok 147 should be equal
ok 148 should be equal
ok 149 should be equal
ok 150 should be equal
ok 151 should be equal
ok 152 should be equal
ok 153 should be equal
ok 154 should be equal
ok 155 should be equal
ok 156 should be equal
ok 157 should be equal
# Test that make_list works with numbers.
ok 158 should be equal
ok 159 should be equal
ok 160 should be equal
# Test that phone2numeric works as expected.
ok 161 should be equal
# Assert that pluralize coerces single argument to plural case.
ok 162 should be equal
# Assert that pluralize coerces two arguments to singular, plural.
ok 163 should be equal
# Assert that random pulls an item out of an array randomly.
ok 164 (unnamed assert)
ok 165 (unnamed assert)
ok 166 (unnamed assert)
ok 167 (unnamed assert)
ok 168 (unnamed assert)
ok 169 (unnamed assert)
ok 170 (unnamed assert)
ok 171 (unnamed assert)
ok 172 (unnamed assert)
ok 173 (unnamed assert)
# Test that rjust right justifies as expected.
ok 174 (unnamed assert)
ok 175 (unnamed assert)
ok 176 (unnamed assert)
ok 177 (unnamed assert)
# Test that upper works.
ok 178 (unnamed assert)
# Test that HTML characters are escaped by default
ok 179 (unnamed assert)
ok 180 should be equal
# Test that HTML characters may be marked 'safe'
ok 181 (unnamed assert)
ok 182 should be equal
# Test that escape automatically escapes the input
ok 183 (unnamed assert)
ok 184 should be equal
# Test that escape does not double-escape the input
ok 185 (unnamed assert)
ok 186 should be equal
# Test that escape respects 'safe'
ok 187 (unnamed assert)
ok 188 should be equal
# Test that force_escape does not respect 'safe'
ok 189 (unnamed assert)
ok 190 should be equal
# Test that slice works with :N
ok 191 should be equal
# Test that slice works with N:
ok 192 should be equal
ok 193 should be equal
# Test that slugify removes unicode, turns spaces into dashes, lowercases everything.
ok 194 (unnamed assert)
# Test that timesince works as expected.
ok 195 (unnamed assert)
ok 196 should be equal
ok 197 should be equal
ok 198 should be equal
ok 199 should be equal
ok 200 should be equal
# Test that timesince may accept an input.
ok 201 (unnamed assert)
ok 202 should be equal
ok 203 should be equal
ok 204 should be equal
ok 205 should be equal
ok 206 should be equal
# Test that timesince displays the largest and second largest bit of multiple time values.
ok 207 (unnamed assert)
ok 208 should be equal
ok 209 should be equal
ok 210 should be equal
# Test that timesince displays '0 minutes' when time is in future, or when time is < 60 seconds away
ok 211 should be equal
ok 212 should be equal
# Test that title titlecases input.
ok 213 (unnamed assert)
ok 214 (unnamed assert)
ok 215 (unnamed assert)
ok 216 (unnamed assert)
ok 217 (unnamed assert)
ok 218 (unnamed assert)
ok 219 (unnamed assert)
ok 220 (unnamed assert)
# Test that striptags removes all HTML tags no matter how cool they are.
ok 221 (unnamed assert)
# Test that a string of characters gets truncated properly.
ok 222 should be equal
ok 223 should be equal
ok 224 should be equal
# Test that a busted number doesn't double call the callback.
ok 225 should be equal
# Test that a string of words gets truncated properly.
ok 226 should be equal
ok 227 should be equal
ok 228 should be equal
# Test that a busted number doesn't double call the callback.
ok 229 should be equal
# Test that unordered list... makes unordered lists. Awesome ones.
ok 230 should be equal
# Test that urlencode encodes all appropriate characters by using the built-in escape function.
ok 231 should be equal
# Test that urlize will turn urls of the form http://whatever.com/whatever, https://whatever.org/whatever into links.
ok 232 should be equal
# Assert that wordcount counts the number of words.
ok 233 should be equal
# Assert that wordwrap wraps lines at a given number.
ok 234 (unnamed assert)
ok 235 (unnamed assert)
ok 236 (unnamed assert)
ok 237 (unnamed assert)
ok 238 (unnamed assert)
ok 239 (unnamed assert)
ok 240 (unnamed assert)
ok 241 (unnamed assert)
ok 242 (unnamed assert)
# Test that the yesno filter coerces values into truthy,falsy
# Test that the yesno filter coerces values into true,false,maybe
ok 243 should be equal
ok 244 should be equal
ok 245 should be equal
ok 246 should be equal
ok 247 should be equal
ok 248 should be equal
# Test the exception cases of plate.Template.
ok 249 should throw
ok 250 should throw
ok 251 should throw
ok 252 should throw
ok 253 should throw
ok 254 (unnamed assert)
ok 255 should be equal
ok 256 (unnamed assert)
ok 257 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 258 should be equal
# Test that filter nodes render as expected.
ok 259 should be equal
ok 260 should be equal
ok 261 should be equal
ok 262 should be equal
ok 263 should be equal
ok 264 should be equal
ok 265 should be equal
ok 266 should be equal
# Test that hitting an unknown tag triggers an error.
ok 267 should be equal
ok 268 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 269 should be equal
ok 270 should throw
# Test that autoregistration of the filter library works as expected.
ok 271 should be equal
ok 272 should throw
# Test that autoregistration of the plugin library works as expected.
ok 273 should be equal
ok 274 should throw
# Test obj.attr lookup failure (synchronous).
ok 275 (unnamed assert)
ok 276 should be equal
ok 277 (unnamed assert)
ok 278 should be equal
ok 279 (unnamed assert)
ok 280 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 281 (unnamed assert)
ok 282 should be equal
ok 283 (unnamed assert)
not ok 284 should be equal
---
operator: equal
expected: "test "
actual: "test 0"
...
# Test obj|attr failure (synchronous and async).
ok 285 should be equal
ok 286 should be equal
# Test that for is enabled by default
ok 287 should throw
# Test that for does not bubble errors if it cannot find the appropriate arrayVar
ok 288 should be equal
# Test that entering a for loop provides the forloop.counter
ok 289 should be equal
ok 290 should be equal
ok 291 should be equal
ok 292 should be equal
ok 293 should be equal
ok 294 should be equal
ok 295 should be equal
ok 296 should be equal
ok 297 should be equal
# Test that entering a for loop provides the forloop.counter0
ok 298 should be equal
ok 299 should be equal
ok 300 should be equal
ok 301 should be equal
ok 302 should be equal
# Test that entering a for loop provides the forloop.revcounter
ok 303 should be equal
ok 304 should be equal
ok 305 should be equal
ok 306 should be equal
ok 307 should be equal
ok 308 should be equal
ok 309 should be equal
ok 310 should be equal
# Test that entering a for loop provides the forloop.revcounter0
ok 311 should be equal
ok 312 should be equal
# Test that entering a for loop provides the forloop.first
ok 313 should be equal
ok 314 should be equal
ok 315 should be equal
ok 316 should be equal
ok 317 should be equal
ok 318 should be equal
# Test that entering a for loop provides the forloop.last
ok 319 should be equal
ok 320 should be equal
ok 321 should be equal
ok 322 should be equal
# Test that entering a nested forloop provides forloop.parentloop
ok 323 should be equal
ok 324 should be equal
ok 325 should be equal
ok 326 should be equal
ok 327 should be equal
ok 328 should be equal
ok 329 should be equal
ok 330 should be equal
ok 331 should be equal
ok 332 should be equal
ok 333 should be equal
ok 334 should be equal
ok 335 should be equal
ok 336 should be equal
ok 337 should be equal
ok 338 should be equal
ok 339 should be equal
ok 340 should be equal
ok 341 should be equal
ok 342 should be equal
ok 343 should be equal
ok 344 should be equal
ok 345 should be equal
ok 346 should be equal
ok 347 should be equal
ok 348 should be equal
ok 349 should be equal
ok 350 should be equal
ok 351 should be equal
ok 352 should be equal
ok 353 should be equal
ok 354 should be equal
ok 355 should be equal
ok 356 should be equal
ok 357 should be equal
ok 358 should be equal
ok 359 should be equal
ok 360 should be equal
ok 361 should be equal
ok 362 should be equal
ok 363 should be equal
ok 364 should be equal
ok 365 should be equal
ok 366 should be equal
ok 367 should be equal
ok 368 should be equal
ok 369 should be equal
ok 370 should be equal
ok 371 should be equal
ok 372 should be equal
ok 373 should be equal
ok 374 should be equal
ok 375 should be equal
ok 376 should be equal
ok 377 should be equal
ok 378 should be equal
ok 379 should be equal
ok 380 should be equal
ok 381 should be equal
ok 382 should be equal
ok 383 should be equal
ok 384 should be equal
ok 385 should be equal
ok 386 should be equal
ok 387 should be equal
ok 388 should be equal
ok 389 should be equal
ok 390 should be equal
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
# Test that the center filter works as expected.
ok 10 should be equal
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
ok 21 should be equal
ok 22 should be equal
ok 23 should be equal
ok 24 should be equal
ok 25 should be equal
ok 26 should be equal
# Test that the cut filter works as expected
ok 27 should be equal
ok 28 should be equal
ok 29 should be equal
ok 30 should be equal
# Test that the date filter defaults to 'N j, Y'
ok 31 should be equal
# Test that the date filter accepts a format arg
ok 32 should be equal
# Test that the date filter accepts non-date arguments
ok 33 should be equal
ok 34 should be equal
# Test that the default filter works as expected
ok 35 should be equal
ok 36 should be equal
ok 37 should be equal
ok 38 should be equal
ok 39 should be equal
ok 40 should be equal
# Test that the dictsort filter works as expected
ok 41 should be equal
ok 42 should be equal
ok 43 should be equal
ok 44 should be equal
# Test that the dictsortreversed filter works as expected
ok 45 should be equal
ok 46 should be equal
# Test that the divisibleby filter works as expected
ok 47 should be equal
ok 48 should be equal
ok 49 should be equal
ok 50 should be equal
ok 51 should be equal
ok 52 should be equal
# Test that the filesizeformat filter works as expected
ok 53 should be equal
ok 54 should be equal
ok 55 should be equal
ok 56 should be equal
ok 57 should be equal
ok 58 should be equal
# Test that the first filter works as expected
ok 59 should be equal
# Test that the floatformat filter works as expected
ok 60 (unnamed assert)
ok 61 (unnamed assert)
ok 62 (unnamed assert)
ok 63 (unnamed assert)
ok 64 (unnamed assert)
ok 65 (unnamed assert)
ok 66 (unnamed assert)
ok 67 (unnamed assert)
ok 68 (unnamed assert)
ok 69 (unnamed assert)
# Test that the get_digit filter works as expected.
ok 70 should be equal
# Test that get_digit returns the original input when given a bad digit
ok 71 should be equal
# Test that the join filter works as expected.
ok 72 should be equal
# Test that last grabs the last element of a list.
ok 73 should be equal
# Test that length works with simple arrays.
ok 74 should be equal
# Test that length works with complex objects.
# Test that length_is works with simple arrays.
ok 75 should be equal
ok 76 should be equal
# Test that length_is works with complex objects.
# Test that linebreaks wraps all double-spaced elements in <p> tags.
ok 77 should be equal
# Test that linebreaks creates <br /> tags for all single newline characters.
ok 78 should be equal
ok 79 should be equal
# Test that linebreaksbr converts all newlines to br elements
ok 80 should be equal
# Test that linenumbers prepends line numbers to each line of input text.
ok 81 should be equal
# Test that ljust left justifies as expected.
ok 82 should be equal
ok 83 should be equal
ok 84 should be equal
ok 85 (unnamed assert)
ok 86 should be equal
ok 87 (unnamed assert)
ok 88 should be equal
ok 89 (unnamed assert)
ok 90 should be equal
ok 91 (unnamed assert)
ok 92 should be equal
ok 93 (unnamed assert)
ok 94 should be equal
ok 95 (unnamed assert)
# Test that lower works.
ok 96 (unnamed assert)
# Test that make_list just passes through arrays.
ok 97 should be equal
ok 98 should be equal
ok 99 should be equal
ok 100 should be equal
ok 101 should be equal
ok 102 should be equal
# Test that make_list works with strings.
ok 103 should be equal
ok 104 should be equal
ok 105 should be equal
ok 106 should be equal
ok 107 should be equal
ok 108 should be equal
ok 109 should be equal
ok 110 should be equal
ok 111 should be equal
ok 112 should be equal
ok 113 should be equal
ok 114 should be equal
ok 115 should be equal
ok 116 should be equal
ok 117 should be equal
ok 118 should be equal
ok 119 should be equal
ok 120 should be equal
ok 121 should be equal
ok 122 should be equal
ok 123 should be equal
ok 124 should be equal
ok 125 should be equal
ok 126 should be equal
ok 127 should be equal
# Test that make_list works with numbers.
ok 128 should be equal
ok 129 should be equal
ok 130 should be equal
# Test that phone2numeric works as expected.
ok 131 should be equal
# Assert that pluralize coerces single argument to plural case.
ok 132 should be equal
# Assert that pluralize coerces two arguments to singular, plural.
ok 133 should be equal
# Assert that random pulls an item out of an array randomly.
ok 134 (unnamed assert)
ok 135 (unnamed assert)
ok 136 (unnamed assert)
ok 137 (unnamed assert)
ok 138 (unnamed assert)
ok 139 (unnamed assert)
ok 140 (unnamed assert)
ok 141 (unnamed assert)
ok 142 (unnamed assert)
ok 143 (unnamed assert)
# Test that rjust right justifies as expected.
ok 144 (unnamed assert)
ok 145 (unnamed assert)
ok 146 (unnamed assert)
ok 147 (unnamed assert)
ok 148 (unnamed assert)
ok 149 (unnamed assert)
ok 150 (unnamed assert)
ok 151 (unnamed assert)
# Test that upper works.
ok 152 (unnamed assert)
# Test that HTML characters are escaped by default
ok 153 (unnamed assert)
ok 154 should be equal
# Test that HTML characters may be marked 'safe'
ok 155 (unnamed assert)
ok 156 should be equal
# Test that escape automatically escapes the input
ok 157 (unnamed assert)
ok 158 should be equal
# Test that escape does not double-escape the input
ok 159 (unnamed assert)
ok 160 should be equal
# Test that escape respects 'safe'
ok 161 (unnamed assert)
ok 162 should be equal
# Test that force_escape does not respect 'safe'
ok 163 (unnamed assert)
ok 164 should be equal
# Test that slice works with :N
ok 165 should be equal
ok 166 should be equal
# Test that slice works with N:
ok 167 should be equal
ok 168 should be equal
ok 169 should be equal
ok 170 should be equal
# Test that slugify removes unicode, turns spaces into dashes, lowercases everything.
ok 171 (unnamed assert)
# Test that timesince works as expected.
ok 172 (unnamed assert)
ok 173 should be equal
ok 174 should be equal
ok 175 should be equal
ok 176 should be equal
ok 177 should be equal
# Test that timesince may accept an input.
ok 178 (unnamed assert)
ok 179 should be equal
ok 180 should be equal
ok 181 should be equal
ok 182 should be equal
ok 183 should be equal
# Test that timesince displays the largest and second largest bit of multiple time values.
ok 184 (unnamed assert)
ok 185 should be equal
ok 186 should be equal
ok 187 should be equal
# Test that timesince displays '0 minutes' when time is in future, or when time is < 60 seconds away
ok 188 should be equal
ok 189 should be equal
# Test that title titlecases input.
ok 190 (unnamed assert)
ok 191 (unnamed assert)
ok 192 (unnamed assert)
ok 193 (unnamed assert)
ok 194 (unnamed assert)
ok 195 (unnamed assert)
ok 196 (unnamed assert)
ok 197 (unnamed assert)
# Test that striptags removes all HTML tags no matter how cool they are.
ok 198 (unnamed assert)
# Test that a string of characters gets truncated properly.
ok 199 should be equal
ok 200 should be equal
ok 201 should be equal
# Test that a busted number doesn't double call the callback.
ok 202 should be equal
# Test that a string of words gets truncated properly.
ok 203 should be equal
ok 204 should be equal
ok 205 should be equal
# Test that a busted number doesn't double call the callback.
ok 206 should be equal
# Test that unordered list... makes unordered lists. Awesome ones.
ok 207 should be equal
# Test that urlencode encodes all appropriate characters by using the built-in escape function.
ok 208 should be equal
# Test that urlize will turn urls of the form http://whatever.com/whatever, https://whatever.org/whatever into links.
ok 209 should be equal
# Assert that wordcount counts the number of words.
ok 210 should be equal
# Assert that wordwrap wraps lines at a given number.
ok 211 (unnamed assert)
ok 212 (unnamed assert)
ok 213 (unnamed assert)
ok 214 (unnamed assert)
ok 215 (unnamed assert)
ok 216 (unnamed assert)
ok 217 (unnamed assert)
ok 218 (unnamed assert)
ok 219 (unnamed assert)
# Test that the yesno filter coerces values into truthy,falsy
# Test that the yesno filter coerces values into true,false,maybe
ok 220 should be equal
ok 221 should be equal
ok 222 should be equal
ok 223 should be equal
ok 224 should be equal
ok 225 should be equal
# Test the exception cases of plate.Template.
ok 226 should throw
ok 227 should throw
ok 228 should throw
ok 229 should throw
ok 230 should throw
ok 231 (unnamed assert)
ok 232 should be equal
ok 233 (unnamed assert)
ok 234 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 235 should be equal
# Test that filter nodes render as expected.
ok 236 should be equal
ok 237 should be equal
ok 238 should be equal
ok 239 should be equal
ok 240 should be equal
ok 241 should be equal
# Test that hitting an unknown tag triggers an error.
ok 242 should be equal
ok 243 (unnamed assert)
ok 244 should be equal
ok 245 should be equal
# Test that autoregistration of the tag library works as expected.
ok 246 should be equal
ok 247 should throw
# Test that autoregistration of the filter library works as expected.
ok 248 should be equal
ok 249 should throw
# Test that autoregistration of the plugin library works as expected.
ok 250 should be equal
ok 251 should throw
# Test obj.attr lookup failure (synchronous).
ok 252 (unnamed assert)
ok 253 should be equal
ok 254 (unnamed assert)
ok 255 should be equal
ok 256 (unnamed assert)
ok 257 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 258 (unnamed assert)
ok 259 should be equal
ok 260 (unnamed assert)
ok 261 should be equal
# Test obj|attr failure (synchronous and async).
ok 262 should be equal
ok 263 should be equal
# Test that for is enabled by default
ok 264 should throw
# Test that for does not bubble errors if it cannot find the appropriate arrayVar
ok 265 should be equal
# Test that entering a for loop provides the forloop.counter
ok 266 should be equal
ok 267 should be equal
ok 268 should be equal
ok 269 should be equal
# Test that entering a for loop provides the forloop.counter0
ok 270 should be equal
ok 271 should be equal
ok 272 should be equal
ok 273 should be equal
ok 274 should be equal
ok 275 should be equal
ok 276 should be equal
ok 277 should be equal
# Test that entering a for loop provides the forloop.revcounter
ok 278 should be equal
ok 279 should be equal
ok 280 should be equal
ok 281 should be equal
ok 282 should be equal
# Test that entering a for loop provides the forloop.revcounter0
ok 283 should be equal
ok 284 should be equal
ok 285 should be equal
ok 286 should be equal
# Test that entering a for loop provides the forloop.first
ok 287 should be equal
ok 288 should be equal
ok 289 should be equal
ok 290 should be equal
ok 291 should be equal
ok 292 should be equal
ok 293 should be equal
ok 294 should be equal
ok 295 should be equal
ok 296 should be equal
ok 297 should be equal
# Test that entering a for loop provides the forloop.last
ok 298 should be equal
ok 299 should be equal
ok 300 should be equal
ok 301 should be equal
# Test that entering a nested forloop provides forloop.parentloop
ok 302 should be equal
ok 303 should be equal
ok 304 should be equal
ok 305 should be equal
ok 306 should be equal
ok 307 should be equal
ok 308 should be equal
ok 309 should be equal
ok 310 should be equal
ok 311 should be equal
ok 312 should be equal
ok 313 should be equal
ok 314 should be equal
ok 315 should be equal
ok 316 should be equal
ok 317 should be equal
ok 318 should be equal
ok 319 should be equal
ok 320 should be equal
ok 321 should be equal
ok 322 should be equal
ok 323 should be equal
ok 324 should be equal
ok 325 should be equal
ok 326 should be equal
ok 327 should be equal
ok 328 should be equal
ok 329 should be equal
ok 330 should be equal
ok 331 should be equal
ok 332 should be equal
ok 333 should be equal
ok 334 should be equal
ok 335 should be equal
ok 336 should be equal
ok 337 should be equal
ok 338 should be equal
ok 339 should be equal
ok 340 should be equal
ok 341 should be equal
ok 342 should be equal
ok 343 should be equal
ok 344 should be equal
ok 345 should be equal
ok 346 should be equal
ok 347 should be equal
ok 348 should be equal
ok 349 should be equal
ok 350 should be equal
ok 351 should be equal
ok 352 should be equal
ok 353 should be equal
ok 354 should be equal
ok 355 should be equal
ok 356 should be equal
ok 357 should be equal
ok 358 should be equal
ok 359 should be equal
ok 360 should be equal
ok 361 should be equal
ok 362 should be equal
ok 363 should be equal
ok 364 should be equal
ok 365 should be equal
ok 366 should be equal
# Test that for unpacks variables as needed
ok 367 should be equal
ok 368 should be equal
ok 369 should be equal
ok 370 should be equal
# Test that for can reverse the contents of an array prior to iteration
ok 371 should be equal
ok 372 should be equal
ok 373 should be equal
ok 374 should be equal
ok 375 should be equal
ok 376 should be equal
ok 377 should be equal
# Test that the with is enabled by default
ok 378 should throw
# Test that with adds the variable into context
ok 379 should be equal
ok 380 should be equal
# Test that with does not leak context variables
ok 381 should be equal
ok 382 should be equal
# Test that an unclosed with statement throws an error
ok 383 should be equal
ok 384 (unnamed assert)
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
# Test that the center filter works as expected.
ok 10 should be equal
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
# Test that the cut filter works as expected
ok 21 should be equal
ok 22 should be equal
ok 23 should be equal
ok 24 should be equal
ok 25 should be equal
ok 26 should be equal
ok 27 should be equal
# Test that the date filter defaults to 'N j, Y'
ok 28 should be equal
# Test that the date filter accepts a format arg
ok 29 should be equal
# Test that the date filter accepts non-date arguments
ok 30 should be equal
ok 31 should be equal
# Test that the default filter works as expected
ok 32 should be equal
ok 33 should be equal
ok 34 should be equal
ok 35 should be equal
ok 36 should be equal
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
# Test that the center filter works as expected.
ok 10 should be equal
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
ok 21 should be equal
ok 22 should be equal
# Test that the cut filter works as expected
ok 23 should be equal
ok 24 should be equal
ok 25 should be equal
ok 26 should be equal
ok 27 should be equal
ok 28 should be equal
# Test that the date filter defaults to 'N j, Y'
ok 29 should be equal
# Test that the date filter accepts a format arg
ok 30 should be equal
# Test that the date filter accepts non-date arguments
ok 31 should be equal
ok 32 should be equal
# Test that the default filter works as expected
ok 33 should be equal
ok 34 should be equal
ok 35 should be equal
ok 36 should be equal
ok 37 should be equal
ok 38 should be equal
# Test that the dictsort filter works as expected
ok 39 should be equal
ok 40 should be equal
ok 41 should be equal
ok 42 should be equal
ok 43 should be equal
ok 44 should be equal
# Test that the dictsortreversed filter works as expected
ok 45 should be equal
ok 46 should be equal
ok 47 should be equal
ok 48 should be equal
ok 49 should be equal
# Test that the divisibleby filter works as expected
ok 50 should be equal
ok 51 should be equal
ok 52 should be equal
ok 53 should be equal
ok 54 should be equal
# Test that the filesizeformat filter works as expected
ok 55 should be equal
ok 56 should be equal
ok 57 should be equal
ok 58 should be equal
ok 59 should be equal
ok 60 should be equal
# Test that the first filter works as expected
ok 61 should be equal
# Test that the floatformat filter works as expected
ok 62 (unnamed assert)
ok 63 (unnamed assert)
ok 64 (unnamed assert)
ok 65 (unnamed assert)
ok 66 (unnamed assert)
ok 67 (unnamed assert)
ok 68 (unnamed assert)
ok 69 (unnamed assert)
ok 70 (unnamed assert)
ok 71 (unnamed assert)
# Test that the get_digit filter works as expected.
ok 72 should be equal
# Test that get_digit returns the original input when given a bad digit
ok 73 should be equal
# Test that the join filter works as expected.
ok 74 should be equal
# Test that last grabs the last element of a list.
ok 75 should be equal
# Test that length works with simple arrays.
ok 76 should be equal
# Test that length works with complex objects.
ok 77 should be equal
# Test that length_is works with simple arrays.
ok 78 should be equal
# Test that length_is works with complex objects.
ok 79 should be equal
# Test that linebreaks wraps all double-spaced elements in <p> tags.
ok 80 should be equal
# Test that linebreaks creates <br /> tags for all single newline characters.
ok 81 should be equal
# Test that linebreaksbr converts all newlines to br elements
ok 82 should be equal
# Test that linenumbers prepends line numbers to each line of input text.
ok 83 should be equal
# Test that ljust left justifies as expected.
ok 84 should be equal
ok 85 should be equal
ok 86 should be equal
ok 87 (unnamed assert)
ok 88 should be equal
ok 89 (unnamed assert)
ok 90 should be equal
ok 91 (unnamed assert)
ok 92 should be equal
ok 93 (unnamed assert)
ok 94 should be equal
ok 95 (unnamed assert)
ok 96 should be equal
ok 97 (unnamed assert)
ok 98 should be equal
ok 99 (unnamed assert)
ok 100 should be equal
ok 101 (unnamed assert)
# Test that lower works.
ok 102 (unnamed assert)
# Test that make_list just passes through arrays.
ok 103 should be equal
ok 104 should be equal
ok 105 should be equal
ok 106 should be equal
ok 107 should be equal
ok 108 should be equal
# Test that make_list works with strings.
ok 109 should be equal
ok 110 should be equal
ok 111 should be equal
ok 112 should be equal
ok 113 should be equal
ok 114 should be equal
ok 115 should be equal
ok 116 should be equal
ok 117 should be equal
ok 118 should be equal
ok 119 should be equal
ok 120 should be equal
ok 121 should be equal
ok 122 should be equal
ok 123 should be equal
ok 124 should be equal
ok 125 should be equal
ok 126 should be equal
ok 127 should be equal
ok 128 should be equal
ok 129 should be equal
ok 130 should be equal
ok 131 should be equal
ok 132 should be equal
ok 133 should be equal
# Test that make_list works with numbers.
ok 134 should be equal
ok 135 should be equal
ok 136 should be equal
# Test that phone2numeric works as expected.
ok 137 should be equal
# Assert that pluralize coerces single argument to plural case.
ok 138 should be equal
# Assert that pluralize coerces two arguments to singular, plural.
ok 139 should be equal
# Assert that random pulls an item out of an array randomly.
ok 140 (unnamed assert)
ok 141 (unnamed assert)
ok 142 (unnamed assert)
ok 143 (unnamed assert)
ok 144 (unnamed assert)
ok 145 (unnamed assert)
ok 146 (unnamed assert)
ok 147 (unnamed assert)
ok 148 (unnamed assert)
ok 149 (unnamed assert)
# Test that rjust right justifies as expected.
ok 150 (unnamed assert)
ok 151 (unnamed assert)
ok 152 (unnamed assert)
ok 153 (unnamed assert)
ok 154 (unnamed assert)
ok 155 (unnamed assert)
ok 156 (unnamed assert)
ok 157 (unnamed assert)
ok 158 (unnamed assert)
ok 159 (unnamed assert)
ok 160 (unnamed assert)
ok 161 (unnamed assert)
ok 162 (unnamed assert)
ok 163 (unnamed assert)
ok 164 (unnamed assert)
ok 165 (unnamed assert)
ok 166 (unnamed assert)
ok 167 (unnamed assert)
ok 168 (unnamed assert)
ok 169 (unnamed assert)
ok 170 (unnamed assert)
ok 171 (unnamed assert)
ok 172 (unnamed assert)
ok 173 (unnamed assert)
ok 174 (unnamed assert)
ok 175 (unnamed assert)
ok 176 (unnamed assert)
ok 177 (unnamed assert)
ok 178 (unnamed assert)
ok 179 (unnamed assert)
ok 180 (unnamed assert)
ok 181 (unnamed assert)
ok 182 (unnamed assert)
ok 183 (unnamed assert)
# Test that upper works.
ok 184 (unnamed assert)
# Test that HTML characters are escaped by default
ok 185 (unnamed assert)
ok 186 should be equal
# Test that HTML characters may be marked 'safe'
ok 187 (unnamed assert)
ok 188 should be equal
# Test that escape automatically escapes the input
ok 189 (unnamed assert)
ok 190 should be equal
# Test that escape does not double-escape the input
ok 191 (unnamed assert)
ok 192 should be equal
# Test that escape respects 'safe'
ok 193 (unnamed assert)
ok 194 should be equal
# Test that force_escape does not respect 'safe'
ok 195 (unnamed assert)
ok 196 should be equal
# Test that slice works with :N
ok 197 should be equal
ok 198 should be equal
# Test that slice works with N:
ok 199 should be equal
ok 200 should be equal
ok 201 should be equal
ok 202 should be equal
ok 203 should be equal
# Test that slugify removes unicode, turns spaces into dashes, lowercases everything.
ok 204 (unnamed assert)
# Test that timesince works as expected.
ok 205 (unnamed assert)
ok 206 should be equal
ok 207 should be equal
ok 208 should be equal
ok 209 should be equal
ok 210 should be equal
# Test that timesince may accept an input.
ok 211 (unnamed assert)
ok 212 should be equal
ok 213 should be equal
ok 214 should be equal
ok 215 should be equal
ok 216 should be equal
# Test that timesince displays the largest and second largest bit of multiple time values.
ok 217 (unnamed assert)
ok 218 should be equal
ok 219 should be equal
ok 220 should be equal
# Test that timesince displays '0 minutes' when time is in future, or when time is < 60 seconds away
ok 221 should be equal
ok 222 should be equal
# Test that title titlecases input.
ok 223 (unnamed assert)
ok 224 (unnamed assert)
ok 225 (unnamed assert)
ok 226 (unnamed assert)
ok 227 (unnamed assert)
ok 228 (unnamed assert)
ok 229 (unnamed assert)
ok 230 (unnamed assert)
# Test that striptags removes all HTML tags no matter how cool they are.
ok 231 (unnamed assert)
# Test that a string of characters gets truncated properly.
ok 232 should be equal
ok 233 should be equal
ok 234 should be equal
# Test that a busted number doesn't double call the callback.
ok 235 should be equal
# Test that a string of words gets truncated properly.
ok 236 should be equal
ok 237 should be equal
ok 238 should be equal
# Test that a busted number doesn't double call the callback.
ok 239 should be equal
# Test that unordered list... makes unordered lists. Awesome ones.
ok 240 should be equal
# Test that urlencode encodes all appropriate characters by using the built-in escape function.
ok 241 should be equal
# Test that urlize will turn urls of the form http://whatever.com/whatever, https://whatever.org/whatever into links.
ok 242 should be equal
# Assert that wordcount counts the number of words.
ok 243 should be equal
# Assert that wordwrap wraps lines at a given number.
ok 244 (unnamed assert)
ok 245 (unnamed assert)
ok 246 (unnamed assert)
ok 247 (unnamed assert)
ok 248 (unnamed assert)
ok 249 (unnamed assert)
ok 250 (unnamed assert)
ok 251 (unnamed assert)
ok 252 (unnamed assert)
# Test that the yesno filter coerces values into truthy,falsy
# Test that the yesno filter coerces values into true,false,maybe
ok 253 should be equal
ok 254 should be equal
ok 255 should be equal
ok 256 should be equal
ok 257 should be equal
ok 258 should be equal
# Test the exception cases of plate.Template.
ok 259 should throw
ok 260 should throw
ok 261 should throw
ok 262 should throw
ok 263 should throw
ok 264 (unnamed assert)
ok 265 should be equal
ok 266 (unnamed assert)
ok 267 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 268 should be equal
# Test that filter nodes render as expected.
ok 269 should be equal
ok 270 should be equal
ok 271 should be equal
ok 272 should be equal
ok 273 should be equal
ok 274 should be equal
ok 275 should be equal
ok 276 should be equal
# Test that hitting an unknown tag triggers an error.
ok 277 should be equal
ok 278 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 279 should be equal
ok 280 should throw
# Test that autoregistration of the filter library works as expected.
ok 281 should be equal
ok 282 should throw
# Test that autoregistration of the plugin library works as expected.
ok 283 should be equal
ok 284 should throw
# Test obj.attr lookup failure (synchronous).
ok 285 (unnamed assert)
ok 286 should be equal
ok 287 (unnamed assert)
ok 288 should be equal
ok 289 (unnamed assert)
ok 290 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 291 (unnamed assert)
ok 292 should be equal
ok 293 (unnamed assert)
ok 294 should be equal
# Test obj|attr failure (synchronous and async).
ok 295 should be equal
ok 296 should be equal
# Test that for is enabled by default
ok 297 should throw
# Test that for does not bubble errors if it cannot find the appropriate arrayVar
ok 298 should be equal
# Test that entering a for loop provides the forloop.counter
ok 299 should be equal
ok 300 should be equal
ok 301 should be equal
ok 302 should be equal
ok 303 should be equal
ok 304 should be equal
ok 305 should be equal
# Test that entering a for loop provides the forloop.counter0
ok 306 should be equal
ok 307 should be equal
ok 308 should be equal
ok 309 should be equal
ok 310 should be equal
# Test that entering a for loop provides the forloop.revcounter
ok 311 should be equal
ok 312 should be equal
ok 313 should be equal
ok 314 should be equal
# Test that entering a for loop provides the forloop.revcounter0
ok 315 should be equal
ok 316 should be equal
ok 317 should be equal
ok 318 should be equal
ok 319 should be equal
ok 320 should be equal
ok 321 should be equal
ok 322 should be equal
ok 323 should be equal
# Test that entering a for loop provides the forloop.first
ok 324 should be equal
ok 325 should be equal
ok 326 should be equal
# Test that entering a for loop provides the forloop.last
ok 327 should be equal
ok 328 should be equal
# Test that entering a nested forloop provides forloop.parentloop
ok 329 should be equal
ok 330 should be equal
ok 331 should be equal
ok 332 should be equal
ok 333 should be equal
ok 334 should be equal
ok 335 should be equal
ok 336 should be equal
ok 337 should be equal
ok 338 should be equal
ok 339 should be equal
ok 340 should be equal
ok 341 should be equal
ok 342 should be equal
ok 343 should be equal
ok 344 should be equal
ok 345 should be equal
ok 346 should be equal
ok 347 should be equal
ok 348 should be equal
ok 349 should be equal
ok 350 should be equal
ok 351 should be equal
ok 352 should be equal
ok 353 should be equal
ok 354 should be equal
ok 355 should be equal
ok 356 should be equal
ok 357 should be equal
ok 358 should be equal
ok 359 should be equal
ok 360 should be equal
ok 361 should be equal
ok 362 should be equal
ok 363 should be equal
ok 364 should be equal
ok 365 should be equal
# Test that for unpacks variables as needed
ok 366 should be equal
ok 367 should be equal
ok 368 should be equal
# Test that for can reverse the contents of an array prior to iteration
ok 369 should be equal
ok 370 should be equal
ok 371 should be equal
ok 372 should be equal
ok 373 should be equal
# Test that the with is enabled by default
ok 374 should throw
# Test that with adds the variable into context
ok 375 should be equal
ok 376 should be equal
# Test that with does not leak context variables
ok 377 should be equal
ok 378 should be equal
# Test that an unclosed with statement throws an error
ok 379 should be equal
ok 380 (unnamed assert)
# Test that if tag is enabled by default
ok 381 should throw
# Test that =, ==, and != work
ok 382 should be equal
# Test that in and not in work
ok 383 should be equal
ok 384 should be equal
ok 385 should be equal
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
# Test that the center filter works as expected.
ok 10 should be equal
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
ok 21 should be equal
ok 22 should be equal
# Test that the cut filter works as expected
ok 23 should be equal
ok 24 should be equal
ok 25 should be equal
ok 26 should be equal
ok 27 should be equal
# Test that the date filter defaults to 'N j, Y'
ok 28 should be equal
# Test that the date filter accepts a format arg
ok 29 should be equal
# Test that the date filter accepts non-date arguments
ok 30 should be equal
ok 31 should be equal
# Test that the default filter works as expected
ok 32 should be equal
ok 33 should be equal
ok 34 should be equal
ok 35 should be equal
ok 36 should be equal
ok 37 should be equal
# Test that the dictsort filter works as expected
ok 38 should be equal
ok 39 should be equal
ok 40 should be equal
ok 41 should be equal
ok 42 should be equal
ok 43 should be equal
# Test that the dictsortreversed filter works as expected
ok 44 should be equal
ok 45 should be equal
ok 46 should be equal
ok 47 should be equal
ok 48 should be equal
ok 49 should be equal
# Test that the divisibleby filter works as expected
ok 50 should be equal
ok 51 should be equal
# Test that the filesizeformat filter works as expected
ok 52 should be equal
ok 53 should be equal
ok 54 should be equal
ok 55 should be equal
ok 56 should be equal
ok 57 should be equal
# Test that the first filter works as expected
ok 58 should be equal
# Test that the floatformat filter works as expected
ok 59 (unnamed assert)
ok 60 (unnamed assert)
ok 61 (unnamed assert)
ok 62 (unnamed assert)
ok 63 (unnamed assert)
ok 64 (unnamed assert)
ok 65 (unnamed assert)
ok 66 (unnamed assert)
ok 67 (unnamed assert)
ok 68 (unnamed assert)
# Test that the get_digit filter works as expected.
ok 69 should be equal
# Test that get_digit returns the original input when given a bad digit
ok 70 should be equal
# Test that the join filter works as expected.
ok 71 should be equal
# Test that last grabs the last element of a list.
ok 72 should be equal
# Test that length works with simple arrays.
ok 73 should be equal
# Test that length works with complex objects.
# Test that length_is works with simple arrays.
ok 74 should be equal
ok 75 should be equal
# Test that length_is works with complex objects.
# Test that linebreaks wraps all double-spaced elements in <p> tags.
ok 76 should be equal
# Test that linebreaks creates <br /> tags for all single newline characters.
ok 77 should be equal
ok 78 should be equal
# Test that linebreaksbr converts all newlines to br elements
ok 79 should be equal
# Test that linenumbers prepends line numbers to each line of input text.
ok 80 should be equal
# Test that ljust left justifies as expected.
ok 81 should be equal
ok 82 should be equal
ok 83 should be equal
ok 84 (unnamed assert)
ok 85 should be equal
ok 86 (unnamed assert)
ok 87 should be equal
ok 88 (unnamed assert)
ok 89 should be equal
ok 90 (unnamed assert)
ok 91 should be equal
ok 92 (unnamed assert)
ok 93 should be equal
ok 94 (unnamed assert)
ok 95 should be equal
ok 96 (unnamed assert)
ok 97 should be equal
ok 98 (unnamed assert)
ok 99 should be equal
ok 100 (unnamed assert)
ok 101 should be equal
ok 102 (unnamed assert)
ok 103 should be equal
ok 104 (unnamed assert)
ok 105 should be equal
ok 106 (unnamed assert)
ok 107 should be equal
ok 108 (unnamed assert)
ok 109 should be equal
ok 110 (unnamed assert)
ok 111 should be equal
ok 112 (unnamed assert)
# Test that lower works.
ok 113 (unnamed assert)
# Test that make_list just passes through arrays.
ok 114 should be equal
ok 115 should be equal
ok 116 should be equal
ok 117 should be equal
ok 118 should be equal
ok 119 should be equal
# Test that make_list works with strings.
ok 120 should be equal
ok 121 should be equal
ok 122 should be equal
ok 123 should be equal
ok 124 should be equal
ok 125 should be equal
ok 126 should be equal
ok 127 should be equal
ok 128 should be equal
ok 129 should be equal
ok 130 should be equal
ok 131 should be equal
ok 132 should be equal
ok 133 should be equal
ok 134 should be equal
ok 135 should be equal
ok 136 should be equal
ok 137 should be equal
ok 138 should be equal
ok 139 should be equal
ok 140 should be equal
ok 141 should be equal
ok 142 should be equal
ok 143 should be equal
ok 144 should be equal
# Test that make_list works with numbers.
ok 145 should be equal
ok 146 should be equal
ok 147 should be equal
# Test that phone2numeric works as expected.
ok 148 should be equal
# Assert that pluralize coerces single argument to plural case.
ok 149 should be equal
# Assert that pluralize coerces two arguments to singular, plural.
ok 150 should be equal
# Assert that random pulls an item out of an array randomly.
ok 151 (unnamed assert)
ok 152 (unnamed assert)
ok 153 (unnamed assert)
ok 154 (unnamed assert)
ok 155 (unnamed assert)
ok 156 (unnamed assert)
ok 157 (unnamed assert)
ok 158 (unnamed assert)
ok 159 (unnamed assert)
ok 160 (unnamed assert)
# Test that rjust right justifies as expected.
ok 161 (unnamed assert)
ok 162 (unnamed assert)
ok 163 (unnamed assert)
ok 164 (unnamed assert)
ok 165 (unnamed assert)
ok 166 (unnamed assert)
ok 167 (unnamed assert)
ok 168 (unnamed assert)
ok 169 (unnamed assert)
ok 170 (unnamed assert)
ok 171 (unnamed assert)
ok 172 (unnamed assert)
ok 173 (unnamed assert)
ok 174 (unnamed assert)
# Test that upper works.
ok 175 (unnamed assert)
# Test that HTML characters are escaped by default
ok 176 (unnamed assert)
ok 177 should be equal
# Test that HTML characters may be marked 'safe'
ok 178 (unnamed assert)
ok 179 should be equal
# Test that escape automatically escapes the input
ok 180 (unnamed assert)
ok 181 should be equal
# Test that escape does not double-escape the input
ok 182 (unnamed assert)
ok 183 should be equal
# Test that escape respects 'safe'
ok 184 (unnamed assert)
ok 185 should be equal
# Test that force_escape does not respect 'safe'
ok 186 (unnamed assert)
ok 187 should be equal
# Test that slice works with :N
ok 188 should be equal
ok 189 should be equal
ok 190 should be equal
# Test that slice works with N:
ok 191 should be equal
ok 192 should be equal
# Test that slugify removes unicode, turns spaces into dashes, lowercases everything.
ok 193 (unnamed assert)
# Test that timesince works as expected.
ok 194 (unnamed assert)
ok 195 should be equal
ok 196 should be equal
ok 197 should be equal
ok 198 should be equal
ok 199 should be equal
# Test that timesince may accept an input.
ok 200 (unnamed assert)
ok 201 should be equal
ok 202 should be equal
ok 203 should be equal
ok 204 should be equal
ok 205 should be equal
# Test that timesince displays the largest and second largest bit of multiple time values.
ok 206 (unnamed assert)
ok 207 should be equal
ok 208 should be equal
ok 209 should be equal
# Test that timesince displays '0 minutes' when time is in future, or when time is < 60 seconds away
ok 210 should be equal
ok 211 should be equal
# Test that title titlecases input.
ok 212 (unnamed assert)
ok 213 (unnamed assert)
ok 214 (unnamed assert)
ok 215 (unnamed assert)
ok 216 (unnamed assert)
ok 217 (unnamed assert)
ok 218 (unnamed assert)
ok 219 (unnamed assert)
# Test that striptags removes all HTML tags no matter how cool they are.
ok 220 (unnamed assert)
# Test that a string of characters gets truncated properly.
ok 221 should be equal
ok 222 should be equal
ok 223 should be equal
# Test that a busted number doesn't double call the callback.
ok 224 should be equal
# Test that a string of words gets truncated properly.
ok 225 should be equal
ok 226 should be equal
ok 227 should be equal
# Test that a busted number doesn't double call the callback.
ok 228 should be equal
# Test that unordered list... makes unordered lists. Awesome ones.
ok 229 should be equal
# Test that urlencode encodes all appropriate characters by using the built-in escape function.
ok 230 should be equal
# Test that urlize will turn urls of the form http://whatever.com/whatever, https://whatever.org/whatever into links.
ok 231 should be equal
# Assert that wordcount counts the number of words.
ok 232 should be equal
# Assert that wordwrap wraps lines at a given number.
ok 233 (unnamed assert)
ok 234 (unnamed assert)
ok 235 (unnamed assert)
ok 236 (unnamed assert)
ok 237 (unnamed assert)
ok 238 (unnamed assert)
ok 239 (unnamed assert)
ok 240 (unnamed assert)
ok 241 (unnamed assert)
# Test that the yesno filter coerces values into truthy,falsy
# Test that the yesno filter coerces values into true,false,maybe
ok 242 should be equal
ok 243 should be equal
ok 244 should be equal
ok 245 should be equal
ok 246 should be equal
ok 247 should be equal
# Test the exception cases of plate.Template.
ok 248 should throw
ok 249 should throw
ok 250 should throw
ok 251 should throw
ok 252 should throw
ok 253 (unnamed assert)
ok 254 should be equal
ok 255 (unnamed assert)
ok 256 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 257 should be equal
# Test that filter nodes render as expected.
ok 258 should be equal
ok 259 should be equal
ok 260 should be equal
ok 261 should be equal
ok 262 should be equal
ok 263 should be equal
# Test that hitting an unknown tag triggers an error.
ok 264 should be equal
ok 265 (unnamed assert)
ok 266 should be equal
ok 267 should be equal
# Test that autoregistration of the tag library works as expected.
ok 268 should be equal
ok 269 should throw
# Test that autoregistration of the filter library works as expected.
ok 270 should be equal
ok 271 should throw
# Test that autoregistration of the plugin library works as expected.
ok 272 should be equal
ok 273 should throw
# Test obj.attr lookup failure (synchronous).
ok 274 (unnamed assert)
ok 275 should be equal
ok 276 (unnamed assert)
ok 277 should be equal
ok 278 (unnamed assert)
ok 279 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 280 (unnamed assert)
ok 281 should be equal
ok 282 (unnamed assert)
ok 283 should be equal
# Test obj|attr failure (synchronous and async).
ok 284 should be equal
ok 285 should be equal
# Test that for is enabled by default
ok 286 should throw
# Test that for does not bubble errors if it cannot find the appropriate arrayVar
ok 287 should be equal
# Test that entering a for loop provides the forloop.counter
ok 288 should be equal
ok 289 should be equal
ok 290 should be equal
ok 291 should be equal
ok 292 should be equal
ok 293 should be equal
# Test that entering a for loop provides the forloop.counter0
ok 294 should be equal
ok 295 should be equal
ok 296 should be equal
ok 297 should be equal
ok 298 should be equal
ok 299 should be equal
ok 300 should be equal
# Test that entering a for loop provides the forloop.revcounter
ok 301 should be equal
ok 302 should be equal
ok 303 should be equal
ok 304 should be equal
ok 305 should be equal
# Test that entering a for loop provides the forloop.revcounter0
ok 306 should be equal
ok 307 should be equal
ok 308 should be equal
ok 309 should be equal
# Test that entering a for loop provides the forloop.first
ok 310 should be equal
ok 311 should be equal
ok 312 should be equal
ok 313 should be equal
ok 314 should be equal
ok 315 should be equal
ok 316 should be equal
ok 317 should be equal
# Test that entering a for loop provides the forloop.last
ok 318 should be equal
ok 319 should be equal
ok 320 should be equal
ok 321 should be equal
ok 322 should be equal
ok 323 should be equal
ok 324 should be equal
# Test that entering a nested forloop provides forloop.parentloop
ok 325 should be equal
ok 326 should be equal
ok 327 should be equal
ok 328 should be equal
ok 329 should be equal
# Test that for unpacks variables as needed
ok 330 should be equal
ok 331 should be equal
ok 332 should be equal
ok 333 should be equal
ok 334 should be equal
ok 335 should be equal
ok 336 should be equal
ok 337 should be equal
ok 338 should be equal
ok 339 should be equal
ok 340 should be equal
ok 341 should be equal
# Test that for can reverse the contents of an array prior to iteration
ok 342 should be equal
ok 343 should be equal
ok 344 should be equal
ok 345 should be equal
ok 346 should be equal
ok 347 should be equal
ok 348 should be equal
# Test that the with is enabled by default
ok 349 should throw
# Test that with adds the variable into context
ok 350 should be equal
ok 351 should be equal
# Test that with does not leak context variables
ok 352 should be equal
ok 353 should be equal
# Test that an unclosed with statement throws an error
ok 354 should be equal
ok 355 (unnamed assert)
# Test that if tag is enabled by default
ok 356 should throw
# Test that =, ==, and != work
ok 357 should be equal
# Test that in and not in work
ok 358 should be equal
ok 359 should be equal
ok 360 should be equal
ok 361 should be equal
ok 362 should be equal
# Test that >, <, <=, and >= work
ok 363 should be equal
# Test that extends does not trigger a parser error.
ok 364 should throw
# Test that extending a template produces super great results.
ok 365 should be equal
ok 366 should be equal
# Test that multilevel extending works
ok 367 should be equal
ok 368 should be equal
# Test that include does not trigger a parser error
ok 369 should throw
# Test that include will include the contents of the included template into the includer.
ok 370 should be equal
ok 371 should be equal
# Test that the loader plugin works with include
ok 372 should be equal
ok 373 should be equal
# Test that comment does not trigger a parser error
ok 374 should throw
# Test that comment omits all items wrapped inside the comment block.
ok 375 should be equal
# test that now defaults to now N y, J
ok 376 should be equal
# test that now can be configured with another argument
ok 377 should be equal
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
# Test that the center filter works as expected.
ok 10 should be equal
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
ok 21 should be equal
ok 22 should be equal
ok 23 should be equal
ok 24 should be equal
ok 25 should be equal
ok 26 should be equal
# Test that the cut filter works as expected
ok 27 should be equal
ok 28 should be equal
ok 29 should be equal
ok 30 should be equal
ok 31 should be equal
ok 32 should be equal
ok 33 should be equal
# Test that the date filter defaults to 'N j, Y'
ok 34 should be equal
# Test that the date filter accepts a format arg
ok 35 should be equal
# Test that the date filter accepts non-date arguments
ok 36 should be equal
ok 37 should be equal
# Test that the default filter works as expected
ok 38 should be equal
ok 39 should be equal
ok 40 should be equal
ok 41 should be equal
ok 42 should be equal
ok 43 should be equal
# Test that the dictsort filter works as expected
ok 44 should be equal
ok 45 should be equal
ok 46 should be equal
ok 47 should be equal
ok 48 should be equal
ok 49 should be equal
ok 50 should be equal
ok 51 should be equal
# Test that the dictsortreversed filter works as expected
ok 52 should be equal
# Test that the divisibleby filter works as expected
ok 53 should be equal
ok 54 should be equal
ok 55 should be equal
ok 56 should be equal
ok 57 should be equal
# Test that the filesizeformat filter works as expected
ok 58 should be equal
ok 59 should be equal
ok 60 should be equal
ok 61 should be equal
ok 62 should be equal
ok 63 should be equal
# Test that the first filter works as expected
ok 64 should be equal
# Test that the floatformat filter works as expected
ok 65 (unnamed assert)
ok 66 (unnamed assert)
ok 67 (unnamed assert)
ok 68 (unnamed assert)
ok 69 (unnamed assert)
ok 70 (unnamed assert)
ok 71 (unnamed assert)
ok 72 (unnamed assert)
ok 73 (unnamed assert)
ok 74 (unnamed assert)
# Test that the get_digit filter works as expected.
ok 75 should be equal
# Test that get_digit returns the original input when given a bad digit
ok 76 should be equal
# Test that the join filter works as expected.
ok 77 should be equal
# Test that last grabs the last element of a list.
ok 78 should be equal
# Test that length works with simple arrays.
ok 79 should be equal
# Test that length works with complex objects.
ok 80 should be equal
# Test that length_is works with simple arrays.
ok 81 should be equal
# Test that length_is works with complex objects.
ok 82 should be equal
# Test that linebreaks wraps all double-spaced elements in <p> tags.
ok 83 should be equal
# Test that linebreaks creates <br /> tags for all single newline characters.
ok 84 should be equal
# Test that linebreaksbr converts all newlines to br elements
ok 85 should be equal
# Test that linenumbers prepends line numbers to each line of input text.
ok 86 should be equal
# Test that ljust left justifies as expected.
ok 87 should be equal
ok 88 should be equal
ok 89 should be equal
ok 90 (unnamed assert)
ok 91 should be equal
ok 92 (unnamed assert)
ok 93 should be equal
ok 94 (unnamed assert)
ok 95 should be equal
ok 96 (unnamed assert)
ok 97 should be equal
ok 98 (unnamed assert)
ok 99 should be equal
ok 100 (unnamed assert)
ok 101 should be equal
ok 102 (unnamed assert)
ok 103 should be equal
ok 104 (unnamed assert)
ok 105 should be equal
ok 106 (unnamed assert)
ok 107 should be equal
ok 108 (unnamed assert)
ok 109 should be equal
ok 110 (unnamed assert)
# Test that lower works.
ok 111 (unnamed assert)
# Test that make_list just passes through arrays.
ok 112 should be equal
ok 113 should be equal
ok 114 should be equal
ok 115 should be equal
ok 116 should be equal
ok 117 should be equal
# Test that make_list works with strings.
ok 118 should be equal
ok 119 should be equal
ok 120 should be equal
ok 121 should be equal
ok 122 should be equal
ok 123 should be equal
ok 124 should be equal
ok 125 should be equal
ok 126 should be equal
ok 127 should be equal
ok 128 should be equal
ok 129 should be equal
ok 130 should be equal
ok 131 should be equal
ok 132 should be equal
ok 133 should be equal
ok 134 should be equal
ok 135 should be equal
ok 136 should be equal
ok 137 should be equal
ok 138 should be equal
ok 139 should be equal
ok 140 should be equal
ok 141 should be equal
ok 142 should be equal
ok 143 should be equal
# Test that make_list works with numbers.
ok 144 should be equal
ok 145 should be equal
ok 146 should be equal
# Test that phone2numeric works as expected.
ok 147 should be equal
# Assert that pluralize coerces single argument to plural case.
ok 148 should be equal
# Assert that pluralize coerces two arguments to singular, plural.
ok 149 should be equal
# Assert that random pulls an item out of an array randomly.
ok 150 (unnamed assert)
ok 151 (unnamed assert)
ok 152 (unnamed assert)
ok 153 (unnamed assert)
ok 154 (unnamed assert)
ok 155 (unnamed assert)
ok 156 (unnamed assert)
ok 157 (unnamed assert)
ok 158 (unnamed assert)
ok 159 (unnamed assert)
# Test that rjust right justifies as expected.
ok 160 (unnamed assert)
ok 161 (unnamed assert)
ok 162 (unnamed assert)
ok 163 (unnamed assert)
ok 164 (unnamed assert)
ok 165 (unnamed assert)
ok 166 (unnamed assert)
ok 167 (unnamed assert)
ok 168 (unnamed assert)
ok 169 (unnamed assert)
ok 170 (unnamed assert)
ok 171 (unnamed assert)
ok 172 (unnamed assert)
ok 173 (unnamed assert)
ok 174 (unnamed assert)
ok 175 (unnamed assert)
ok 176 (unnamed assert)
ok 177 (unnamed assert)
ok 178 (unnamed assert)
ok 179 (unnamed assert)
ok 180 (unnamed assert)
ok 181 (unnamed assert)
ok 182 (unnamed assert)
ok 183 (unnamed assert)
ok 184 (unnamed assert)
ok 185 (unnamed assert)
ok 186 (unnamed assert)
ok 187 (unnamed assert)
ok 188 (unnamed assert)
ok 189 (unnamed assert)
ok 190 (unnamed assert)
ok 191 (unnamed assert)
ok 192 (unnamed assert)
ok 193 (unnamed assert)
# Test that upper works.
ok 194 (unnamed assert)
# Test that HTML characters are escaped by default
ok 195 (unnamed assert)
ok 196 should be equal
# Test that HTML characters may be marked 'safe'
ok 197 (unnamed assert)
ok 198 should be equal
# Test that escape automatically escapes the input
ok 199 (unnamed assert)
ok 200 should be equal
# Test that escape does not double-escape the input
ok 201 (unnamed assert)
ok 202 should be equal
# Test that escape respects 'safe'
ok 203 (unnamed assert)
ok 204 should be equal
# Test that force_escape does not respect 'safe'
ok 205 (unnamed assert)
ok 206 should be equal
# Test that slice works with :N
ok 207 should be equal
# Test that slice works with N:
ok 208 should be equal
ok 209 should be equal
ok 210 should be equal
# Test that slugify removes unicode, turns spaces into dashes, lowercases everything.
ok 211 (unnamed assert)
# Test that timesince works as expected.
ok 212 (unnamed assert)
ok 213 should be equal
ok 214 should be equal
ok 215 should be equal
ok 216 should be equal
ok 217 should be equal
# Test that timesince may accept an input.
ok 218 (unnamed assert)
ok 219 should be equal
ok 220 should be equal
ok 221 should be equal
ok 222 should be equal
ok 223 should be equal
# Test that timesince displays the largest and second largest bit of multiple time values.
ok 224 (unnamed assert)
ok 225 should be equal
ok 226 should be equal
ok 227 should be equal
# Test that timesince displays '0 minutes' when time is in future, or when time is < 60 seconds away
ok 228 should be equal
ok 229 should be equal
# Test that title titlecases input.
ok 230 (unnamed assert)
ok 231 (unnamed assert)
ok 232 (unnamed assert)
ok 233 (unnamed assert)
ok 234 (unnamed assert)
ok 235 (unnamed assert)
ok 236 (unnamed assert)
ok 237 (unnamed assert)
# Test that striptags removes all HTML tags no matter how cool they are.
ok 238 (unnamed assert)
# Test that a string of characters gets truncated properly.
ok 239 should be equal
ok 240 should be equal
ok 241 should be equal
# Test that a busted number doesn't double call the callback.
ok 242 should be equal
# Test that a string of words gets truncated properly.
ok 243 should be equal
ok 244 should be equal
ok 245 should be equal
# Test that a busted number doesn't double call the callback.
ok 246 should be equal
# Test that unordered list... makes unordered lists. Awesome ones.
ok 247 should be equal
# Test that urlencode encodes all appropriate characters by using the built-in escape function.
ok 248 should be equal
# Test that urlize will turn urls of the form http://whatever.com/whatever, https://whatever.org/whatever into links.
ok 249 should be equal
# Assert that wordcount counts the number of words.
ok 250 should be equal
# Assert that wordwrap wraps lines at a given number.
ok 251 (unnamed assert)
ok 252 (unnamed assert)
ok 253 (unnamed assert)
ok 254 (unnamed assert)
ok 255 (unnamed assert)
ok 256 (unnamed assert)
ok 257 (unnamed assert)
ok 258 (unnamed assert)
ok 259 (unnamed assert)
# Test that the yesno filter coerces values into truthy,falsy
# Test that the yesno filter coerces values into true,false,maybe
ok 260 should be equal
ok 261 should be equal
ok 262 should be equal
ok 263 should be equal
ok 264 should be equal
ok 265 should be equal
# Test the exception cases of plate.Template.
ok 266 should throw
ok 267 should throw
ok 268 should throw
ok 269 should throw
ok 270 should throw
ok 271 (unnamed assert)
ok 272 should be equal
ok 273 (unnamed assert)
ok 274 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 275 should be equal
# Test that filter nodes render as expected.
ok 276 should be equal
ok 277 should be equal
ok 278 should be equal
ok 279 should be equal
ok 280 should be equal
ok 281 should be equal
ok 282 should be equal
ok 283 should be equal
# Test that hitting an unknown tag triggers an error.
ok 284 should be equal
ok 285 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 286 should be equal
ok 287 should throw
# Test that autoregistration of the filter library works as expected.
ok 288 should be equal
ok 289 should throw
# Test that autoregistration of the plugin library works as expected.
ok 290 should be equal
ok 291 should throw
# Test obj.attr lookup failure (synchronous).
ok 292 (unnamed assert)
ok 293 should be equal
ok 294 (unnamed assert)
ok 295 should be equal
ok 296 (unnamed assert)
ok 297 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 298 (unnamed assert)
ok 299 should be equal
ok 300 (unnamed assert)
ok 301 should be equal
# Test obj|attr failure (synchronous and async).
ok 302 should be equal
ok 303 should be equal
# Test that for is enabled by default
ok 304 should throw
# Test that for does not bubble errors if it cannot find the appropriate arrayVar
ok 305 should be equal
# Test that entering a for loop provides the forloop.counter
ok 306 should be equal
ok 307 should be equal
ok 308 should be equal
ok 309 should be equal
# Test that entering a for loop provides the forloop.counter0
ok 310 should be equal
ok 311 should be equal
ok 312 should be equal
ok 313 should be equal
ok 314 should be equal
ok 315 should be equal
ok 316 should be equal
ok 317 should be equal
ok 318 should be equal
# Test that entering a for loop provides the forloop.revcounter
ok 319 should be equal
ok 320 should be equal
ok 321 should be equal
ok 322 should be equal
ok 323 should be equal
ok 324 should be equal
# Test that entering a for loop provides the forloop.revcounter0
ok 325 should be equal
ok 326 should be equal
ok 327 should be equal
ok 328 should be equal
ok 329 should be equal
ok 330 should be equal
ok 331 should be equal
ok 332 should be equal
ok 333 should be equal
# Test that entering a for loop provides the forloop.first
ok 334 should be equal
ok 335 should be equal
ok 336 should be equal
ok 337 should be equal
ok 338 should be equal
ok 339 should be equal
ok 340 should be equal
ok 341 should be equal
ok 342 should be equal
ok 343 should be equal
# Test that entering a for loop provides the forloop.last
ok 344 should be equal
ok 345 should be equal
ok 346 should be equal
ok 347 should be equal
ok 348 should be equal
ok 349 should be equal
# Test that entering a nested forloop provides forloop.parentloop
ok 350 should be equal
ok 351 should be equal
ok 352 should be equal
ok 353 should be equal
ok 354 should be equal
ok 355 should be equal
ok 356 should be equal
ok 357 should be equal
ok 358 should be equal
ok 359 should be equal
ok 360 should be equal
ok 361 should be equal
ok 362 should be equal
ok 363 should be equal
ok 364 should be equal
ok 365 should be equal
ok 366 should be equal
ok 367 should be equal
ok 368 should be equal
ok 369 should be equal
ok 370 should be equal
ok 371 should be equal
ok 372 should be equal
ok 373 should be equal
ok 374 should be equal
ok 375 should be equal
# Test that for unpacks variables as needed
ok 376 should be equal
ok 377 should be equal
ok 378 should be equal
ok 379 should be equal
# Test that for can reverse the contents of an array prior to iteration
ok 380 should be equal
ok 381 should be equal
ok 382 should be equal
# Test that the with is enabled by default
ok 383 should throw
# Test that with adds the variable into context
ok 384 should be equal
ok 385 should be equal
# Test that with does not leak context variables
ok 386 should be equal
ok 387 should be equal
# Test that an unclosed with statement throws an error
ok 388 should be equal
ok 389 (unnamed assert)
# Test that if tag is enabled by default
ok 390 should throw
# Test that =, ==, and != work
ok 391 should be equal
# Test that in and not in work
ok 392 should be equal
ok 393 should be equal
ok 394 should be equal
ok 395 should be equal
ok 396 should be equal
# Test that >, <, <=, and >= work
ok 397 should be equal
# Test that extends does not trigger a parser error.
ok 398 should throw
# Test that extending a template produces super great results.
ok 399 should be equal
ok 400 should be equal
# Test that multilevel extending works
ok 401 should be equal
ok 402 should be equal
# Test that include does not trigger a parser error
ok 403 should throw
# Test that include will include the contents of the included template into the includer.
ok 404 should be equal
ok 405 should be equal
# Test that the loader plugin works with include
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
# Test that the center filter works as expected.
TAP version 13
# Test that the add filter works as expected
not ok 1 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the addslashes filter works as expected
not ok 2 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the capfirst filter works as expected
not ok 3 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the center filter works as expected.
not ok 4 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the cut filter works as expected
not ok 5 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the date filter defaults to 'N j, Y'
not ok 6 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the date filter accepts a format arg
not ok 7 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the date filter accepts non-date arguments
not ok 8 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the default filter works as expected
not ok 9 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the dictsort filter works as expected
not ok 10 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
TAP version 13
# Test that the add filter works as expected
not ok 1 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the addslashes filter works as expected
not ok 2 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the capfirst filter works as expected
not ok 3 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the center filter works as expected.
not ok 4 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the cut filter works as expected
not ok 5 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the date filter defaults to 'N j, Y'
not ok 6 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the date filter accepts a format arg
not ok 7 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the date filter accepts non-date arguments
not ok 8 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the default filter works as expected
not ok 9 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the dictsort filter works as expected
not ok 10 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the dictsortreversed filter works as expected
not ok 11 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the divisibleby filter works as expected
not ok 12 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the filesizeformat filter works as expected
not ok 13 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the first filter works as expected
not ok 14 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the floatformat filter works as expected
not ok 15 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the get_digit filter works as expected.
not ok 16 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that get_digit returns the original input when given a bad digit
not ok 17 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the join filter works as expected.
not ok 18 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that last grabs the last element of a list.
not ok 19 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that length works with simple arrays.
not ok 20 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that length works with complex objects.
not ok 21 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that length_is works with simple arrays.
not ok 22 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that length_is works with complex objects.
not ok 23 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that linebreaks wraps all double-spaced elements in <p> tags.
not ok 24 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that linebreaks creates <br /> tags for all single newline characters.
not ok 25 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that linebreaksbr converts all newlines to br elements
not ok 26 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that linenumbers prepends line numbers to each line of input text.
not ok 27 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that ljust left justifies as expected.
not ok 28 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that lower works.
not ok 29 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that make_list just passes through arrays.
not ok 30 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that make_list works with strings.
not ok 31 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that make_list works with numbers.
not ok 32 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that phone2numeric works as expected.
not ok 33 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Assert that pluralize coerces single argument to plural case.
not ok 34 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Assert that pluralize coerces two arguments to singular, plural.
not ok 35 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Assert that random pulls an item out of an array randomly.
not ok 36 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that rjust right justifies as expected.
not ok 37 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that upper works.
not ok 38 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that HTML characters are escaped by default
not ok 39 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that HTML characters may be marked 'safe'
not ok 40 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that escape automatically escapes the input
not ok 41 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that escape does not double-escape the input
not ok 42 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that escape respects 'safe'
not ok 43 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that force_escape does not respect 'safe'
not ok 44 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that slice works with :N
not ok 45 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that slice works with N:
not ok 46 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that slugify removes unicode, turns spaces into dashes, lowercases everything.
not ok 47 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that timesince works as expected.
not ok 48 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that timesince may accept an input.
not ok 49 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that timesince displays the largest and second largest bit of multiple time values.
not ok 50 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that timesince displays '0 minutes' when time is in future, or when time is < 60 seconds away
not ok 51 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that title titlecases input.
not ok 52 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that striptags removes all HTML tags no matter how cool they are.
not ok 53 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that a string of characters gets truncated properly.
not ok 54 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that a busted number doesn't double call the callback.
not ok 55 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that a string of words gets truncated properly.
not ok 56 [object Error]
---
operator: error
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
# Test that the center filter works as expected.
ok 10 should be equal
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
ok 21 should be equal
ok 22 should be equal
ok 23 should be equal
ok 24 should be equal
ok 25 should be equal
ok 26 should be equal
ok 27 should be equal
ok 28 should be equal
ok 29 should be equal
ok 30 should be equal
# Test that the cut filter works as expected
ok 31 should be equal
ok 32 should be equal
ok 33 should be equal
ok 34 should be equal
ok 35 should be equal
ok 36 should be equal
ok 37 should be equal
# Test that the date filter defaults to 'N j, Y'
ok 38 should be equal
# Test that the date filter accepts a format arg
ok 39 should be equal
# Test that the date filter accepts non-date arguments
ok 40 should be equal
ok 41 should be equal
# Test that the default filter works as expected
ok 42 should be equal
ok 43 should be equal
ok 44 should be equal
ok 45 should be equal
ok 46 should be equal
ok 47 should be equal
# Test that the dictsort filter works as expected
ok 48 should be equal
ok 49 should be equal
ok 50 should be equal
ok 51 should be equal
# Test that the dictsortreversed filter works as expected
ok 52 should be equal
ok 53 should be equal
ok 54 should be equal
ok 55 should be equal
ok 56 should be equal
ok 57 should be equal
ok 58 should be equal
# Test that the divisibleby filter works as expected
ok 59 should be equal
ok 60 should be equal
ok 61 should be equal
ok 62 should be equal
ok 63 should be equal
ok 64 should be equal
# Test that the filesizeformat filter works as expected
ok 65 should be equal
ok 66 should be equal
ok 67 should be equal
ok 68 should be equal
ok 69 should be equal
ok 70 should be equal
# Test that the first filter works as expected
ok 71 should be equal
# Test that the floatformat filter works as expected
ok 72 (unnamed assert)
ok 73 (unnamed assert)
ok 74 (unnamed assert)
ok 75 (unnamed assert)
ok 76 (unnamed assert)
ok 77 (unnamed assert)
ok 78 (unnamed assert)
ok 79 (unnamed assert)
ok 80 (unnamed assert)
ok 81 (unnamed assert)
# Test that the get_digit filter works as expected.
ok 82 should be equal
# Test that get_digit returns the original input when given a bad digit
ok 83 should be equal
# Test that the join filter works as expected.
ok 84 should be equal
# Test that last grabs the last element of a list.
ok 85 should be equal
# Test that length works with simple arrays.
ok 86 should be equal
# Test that length works with complex objects.
ok 87 should be equal
# Test that length_is works with simple arrays.
ok 88 should be equal
# Test that length_is works with complex objects.
ok 89 should be equal
# Test that linebreaks wraps all double-spaced elements in <p> tags.
ok 90 should be equal
# Test that linebreaks creates <br /> tags for all single newline characters.
ok 91 should be equal
# Test that linebreaksbr converts all newlines to br elements
ok 92 should be equal
# Test that linenumbers prepends line numbers to each line of input text.
ok 93 should be equal
# Test that ljust left justifies as expected.
ok 94 should be equal
ok 95 should be equal
ok 96 should be equal
ok 97 (unnamed assert)
ok 98 should be equal
ok 99 (unnamed assert)
ok 100 should be equal
ok 101 (unnamed assert)
ok 102 should be equal
ok 103 (unnamed assert)
ok 104 should be equal
ok 105 (unnamed assert)
ok 106 should be equal
ok 107 (unnamed assert)
ok 108 should be equal
ok 109 (unnamed assert)
# Test that lower works.
ok 110 (unnamed assert)
# Test that make_list just passes through arrays.
ok 111 should be equal
ok 112 should be equal
ok 113 should be equal
ok 114 should be equal
ok 115 should be equal
ok 116 should be equal
# Test that make_list works with strings.
ok 117 should be equal
ok 118 should be equal
ok 119 should be equal
ok 120 should be equal
ok 121 should be equal
ok 122 should be equal
ok 123 should be equal
ok 124 should be equal
ok 125 should be equal
ok 126 should be equal
ok 127 should be equal
ok 128 should be equal
ok 129 should be equal
ok 130 should be equal
ok 131 should be equal
ok 132 should be equal
ok 133 should be equal
ok 134 should be equal
ok 135 should be equal
ok 136 should be equal
ok 137 should be equal
ok 138 should be equal
ok 139 should be equal
ok 140 should be equal
ok 141 should be equal
# Test that make_list works with numbers.
ok 142 should be equal
ok 143 should be equal
ok 144 should be equal
# Test that phone2numeric works as expected.
ok 145 should be equal
# Assert that pluralize coerces single argument to plural case.
ok 146 should be equal
# Assert that pluralize coerces two arguments to singular, plural.
ok 147 should be equal
# Assert that random pulls an item out of an array randomly.
ok 148 (unnamed assert)
ok 149 (unnamed assert)
ok 150 (unnamed assert)
ok 151 (unnamed assert)
ok 152 (unnamed assert)
ok 153 (unnamed assert)
ok 154 (unnamed assert)
ok 155 (unnamed assert)
ok 156 (unnamed assert)
ok 157 (unnamed assert)
# Test that rjust right justifies as expected.
ok 158 (unnamed assert)
ok 159 (unnamed assert)
ok 160 (unnamed assert)
ok 161 (unnamed assert)
ok 162 (unnamed assert)
ok 163 (unnamed assert)
ok 164 (unnamed assert)
ok 165 (unnamed assert)
# Test that upper works.
ok 166 (unnamed assert)
# Test that HTML characters are escaped by default
ok 167 (unnamed assert)
ok 168 should be equal
# Test that HTML characters may be marked 'safe'
ok 169 (unnamed assert)
ok 170 should be equal
# Test that escape automatically escapes the input
ok 171 (unnamed assert)
ok 172 should be equal
# Test that escape does not double-escape the input
ok 173 (unnamed assert)
ok 174 should be equal
# Test that escape respects 'safe'
ok 175 (unnamed assert)
ok 176 should be equal
# Test that force_escape does not respect 'safe'
ok 177 (unnamed assert)
ok 178 should be equal
# Test that slice works with :N
ok 179 should be equal
# Test that slice works with N:
ok 180 should be equal
ok 181 should be equal
# Test that slugify removes unicode, turns spaces into dashes, lowercases everything.
ok 182 (unnamed assert)
# Test that timesince works as expected.
ok 183 (unnamed assert)
ok 184 should be equal
ok 185 should be equal
ok 186 should be equal
ok 187 should be equal
ok 188 should be equal
# Test that timesince may accept an input.
ok 189 (unnamed assert)
ok 190 should be equal
ok 191 should be equal
ok 192 should be equal
ok 193 should be equal
ok 194 should be equal
# Test that timesince displays the largest and second largest bit of multiple time values.
ok 195 (unnamed assert)
ok 196 should be equal
ok 197 should be equal
ok 198 should be equal
# Test that timesince displays '0 minutes' when time is in future, or when time is < 60 seconds away
ok 199 should be equal
ok 200 should be equal
# Test that title titlecases input.
ok 201 (unnamed assert)
ok 202 (unnamed assert)
ok 203 (unnamed assert)
ok 204 (unnamed assert)
ok 205 (unnamed assert)
ok 206 (unnamed assert)
ok 207 (unnamed assert)
ok 208 (unnamed assert)
# Test that striptags removes all HTML tags no matter how cool they are.
ok 209 (unnamed assert)
# Test that a string of characters gets truncated properly.
ok 210 should be equal
ok 211 should be equal
ok 212 should be equal
# Test that a busted number doesn't double call the callback.
ok 213 should be equal
# Test that a string of words gets truncated properly.
ok 214 should be equal
ok 215 should be equal
ok 216 should be equal
# Test that a busted number doesn't double call the callback.
ok 217 should be equal
# Test that unordered list... makes unordered lists. Awesome ones.
ok 218 should be equal
# Test that urlencode encodes all appropriate characters by using the built-in escape function.
ok 219 should be equal
# Test that urlize will turn urls of the form http://whatever.com/whatever, https://whatever.org/whatever into links.
ok 220 should be equal
# Assert that wordcount counts the number of words.
ok 221 should be equal
# Assert that wordwrap wraps lines at a given number.
ok 222 (unnamed assert)
ok 223 (unnamed assert)
ok 224 (unnamed assert)
ok 225 (unnamed assert)
ok 226 (unnamed assert)
ok 227 (unnamed assert)
ok 228 (unnamed assert)
ok 229 (unnamed assert)
ok 230 (unnamed assert)
# Test that the yesno filter coerces values into truthy,falsy
# Test that the yesno filter coerces values into true,false,maybe
ok 231 should be equal
ok 232 should be equal
ok 233 should be equal
ok 234 should be equal
ok 235 should be equal
ok 236 should be equal
# Test the exception cases of plate.Template.
ok 237 should throw
ok 238 should throw
ok 239 should throw
ok 240 should throw
ok 241 should throw
ok 242 (unnamed assert)
ok 243 should be equal
ok 244 (unnamed assert)
ok 245 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 246 should be equal
# Test that filter nodes render as expected.
ok 247 should be equal
ok 248 should be equal
ok 249 should be equal
ok 250 should be equal
ok 251 should be equal
ok 252 should be equal
ok 253 should be equal
ok 254 should be equal
# Test that hitting an unknown tag triggers an error.
ok 255 should be equal
ok 256 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 257 should be equal
ok 258 should throw
# Test that autoregistration of the filter library works as expected.
ok 259 should be equal
ok 260 should throw
# Test that autoregistration of the plugin library works as expected.
ok 261 should be equal
ok 262 should throw
# Test obj.attr lookup failure (synchronous).
ok 263 (unnamed assert)
ok 264 should be equal
ok 265 (unnamed assert)
ok 266 should be equal
ok 267 (unnamed assert)
ok 268 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 269 (unnamed assert)
ok 270 should be equal
ok 271 (unnamed assert)
ok 272 should be equal
# Test obj|attr failure (synchronous and async).
ok 273 should be equal
ok 274 should be equal
# Test that for is enabled by default
ok 275 should throw
# Test that for does not bubble errors if it cannot find the appropriate arrayVar
ok 276 should be equal
# Test that entering a for loop provides the forloop.counter
ok 277 should be equal
ok 278 should be equal
ok 279 should be equal
ok 280 should be equal
ok 281 should be equal
ok 282 should be equal
ok 283 should be equal
ok 284 should be equal
ok 285 should be equal
ok 286 should be equal
# Test that entering a for loop provides the forloop.counter0
ok 287 should be equal
ok 288 should be equal
# Test that entering a for loop provides the forloop.revcounter
ok 289 should be equal
ok 290 should be equal
ok 291 should be equal
ok 292 should be equal
ok 293 should be equal
ok 294 should be equal
ok 295 should be equal
# Test that entering a for loop provides the forloop.revcounter0
ok 296 should be equal
ok 297 should be equal
ok 298 should be equal
ok 299 should be equal
ok 300 should be equal
ok 301 should be equal
ok 302 should be equal
ok 303 should be equal
# Test that entering a for loop provides the forloop.first
ok 304 should be equal
ok 305 should be equal
ok 306 should be equal
ok 307 should be equal
# Test that entering a for loop provides the forloop.last
ok 308 should be equal
ok 309 should be equal
ok 310 should be equal
ok 311 should be equal
ok 312 should be equal
ok 313 should be equal
ok 314 should be equal
ok 315 should be equal
ok 316 should be equal
ok 317 should be equal
ok 318 should be equal
# Test that entering a nested forloop provides forloop.parentloop
ok 319 should be equal
ok 320 should be equal
ok 321 should be equal
ok 322 should be equal
ok 323 should be equal
ok 324 should be equal
ok 325 should be equal
ok 326 should be equal
ok 327 should be equal
ok 328 should be equal
ok 329 should be equal
ok 330 should be equal
ok 331 should be equal
ok 332 should be equal
ok 333 should be equal
ok 334 should be equal
ok 335 should be equal
ok 336 should be equal
ok 337 should be equal
ok 338 should be equal
ok 339 should be equal
ok 340 should be equal
ok 341 should be equal
ok 342 should be equal
ok 343 should be equal
ok 344 should be equal
# Test that for unpacks variables as needed
ok 345 should be equal
ok 346 should be equal
ok 347 should be equal
ok 348 should be equal
ok 349 should be equal
ok 350 should be equal
ok 351 should be equal
ok 352 should be equal
# Test that for can reverse the contents of an array prior to iteration
ok 353 should be equal
ok 354 should be equal
ok 355 should be equal
ok 356 should be equal
ok 357 should be equal
ok 358 should be equal
ok 359 should be equal
ok 360 should be equal
ok 361 should be equal
ok 362 should be equal
# Test that the with is enabled by default
ok 363 should throw
# Test that with adds the variable into context
ok 364 should be equal
ok 365 should be equal
# Test that with does not leak context variables
ok 366 should be equal
ok 367 should be equal
# Test that an unclosed with statement throws an error
ok 368 should be equal
ok 369 (unnamed assert)
# Test that if tag is enabled by default
ok 370 should throw
# Test that =, ==, and != work
ok 371 should be equal
# Test that in and not in work
ok 372 should be equal
ok 373 should be equal
ok 374 should be equal
ok 375 should be equal
ok 376 should be equal
# Test that >, <, <=, and >= work
ok 377 should be equal
# Test that extends does not trigger a parser error.
ok 378 should throw
# Test that extending a template produces super great results.
ok 379 should be equal
ok 380 should be equal
# Test that multilevel extending works
ok 381 should be equal
ok 382 should be equal
# Test that include does not trigger a parser error
ok 383 should throw
# Test that include will include the contents of the included template into the includer.
ok 384 should be equal
ok 385 should be equal
# Test that the loader plugin works with include
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
# Test that the center filter works as expected.
ok 10 should be equal
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
ok 21 should be equal
ok 22 should be equal
ok 23 should be equal
ok 24 should be equal
# Test that the cut filter works as expected
# Test that the date filter defaults to 'N j, Y'
ok 25 should be equal
# Test that the date filter accepts a format arg
ok 26 should be equal
# Test that the date filter accepts non-date arguments
ok 27 should be equal
ok 28 should be equal
# Test that the default filter works as expected
ok 29 should be equal
ok 30 should be equal
ok 31 should be equal
ok 32 should be equal
ok 33 should be equal
ok 34 should be equal
# Test that the dictsort filter works as expected
ok 35 should be equal
ok 36 should be equal
ok 37 should be equal
ok 38 should be equal
ok 39 should be equal
ok 40 should be equal
# Test that the dictsortreversed filter works as expected
ok 41 should be equal
ok 42 should be equal
ok 43 should be equal
# Test that the divisibleby filter works as expected
ok 44 should be equal
ok 45 should be equal
ok 46 should be equal
ok 47 should be equal
ok 48 should be equal
ok 49 should be equal
ok 50 should be equal
ok 51 should be equal
ok 52 should be equal
# Test that the filesizeformat filter works as expected
ok 53 should be equal
ok 54 should be equal
ok 55 should be equal
ok 56 should be equal
ok 57 should be equal
ok 58 should be equal
# Test that the first filter works as expected
ok 59 should be equal
# Test that the floatformat filter works as expected
ok 60 (unnamed assert)
ok 61 (unnamed assert)
ok 62 (unnamed assert)
ok 63 (unnamed assert)
ok 64 (unnamed assert)
ok 65 (unnamed assert)
ok 66 (unnamed assert)
ok 67 (unnamed assert)
ok 68 (unnamed assert)
ok 69 (unnamed assert)
# Test that the get_digit filter works as expected.
ok 70 should be equal
# Test that get_digit returns the original input when given a bad digit
ok 71 should be equal
# Test that the join filter works as expected.
ok 72 should be equal
# Test that last grabs the last element of a list.
ok 73 should be equal
# Test that length works with simple arrays.
ok 74 should be equal
# Test that length works with complex objects.
ok 75 should be equal
# Test that length_is works with simple arrays.
ok 76 should be equal
# Test that length_is works with complex objects.
ok 77 should be equal
# Test that linebreaks wraps all double-spaced elements in <p> tags.
ok 78 should be equal
# Test that linebreaks creates <br /> tags for all single newline characters.
ok 79 should be equal
# Test that linebreaksbr converts all newlines to br elements
ok 80 should be equal
# Test that linenumbers prepends line numbers to each line of input text.
ok 81 should be equal
# Test that ljust left justifies as expected.
ok 82 should be equal
ok 83 should be equal
ok 84 should be equal
ok 85 (unnamed assert)
ok 86 should be equal
ok 87 (unnamed assert)
ok 88 should be equal
ok 89 (unnamed assert)
ok 90 should be equal
ok 91 (unnamed assert)
ok 92 should be equal
ok 93 (unnamed assert)
ok 94 should be equal
ok 95 (unnamed assert)
ok 96 should be equal
ok 97 (unnamed assert)
ok 98 should be equal
ok 99 (unnamed assert)
ok 100 should be equal
ok 101 (unnamed assert)
ok 102 should be equal
ok 103 (unnamed assert)
# Test that lower works.
ok 104 (unnamed assert)
# Test that make_list just passes through arrays.
ok 105 should be equal
ok 106 should be equal
ok 107 should be equal
ok 108 should be equal
ok 109 should be equal
ok 110 should be equal
# Test that make_list works with strings.
ok 111 should be equal
ok 112 should be equal
ok 113 should be equal
ok 114 should be equal
ok 115 should be equal
ok 116 should be equal
ok 117 should be equal
ok 118 should be equal
ok 119 should be equal
ok 120 should be equal
ok 121 should be equal
ok 122 should be equal
ok 123 should be equal
ok 124 should be equal
ok 125 should be equal
ok 126 should be equal
ok 127 should be equal
ok 128 should be equal
ok 129 should be equal
ok 130 should be equal
ok 131 should be equal
ok 132 should be equal
ok 133 should be equal
ok 134 should be equal
# Test that make_list works with numbers.
ok 135 should be equal
ok 136 should be equal
ok 137 should be equal
# Test that phone2numeric works as expected.
ok 138 should be equal
# Assert that pluralize coerces single argument to plural case.
ok 139 should be equal
# Assert that pluralize coerces two arguments to singular, plural.
ok 140 should be equal
# Assert that random pulls an item out of an array randomly.
ok 141 (unnamed assert)
ok 142 (unnamed assert)
ok 143 (unnamed assert)
ok 144 (unnamed assert)
ok 145 (unnamed assert)
ok 146 (unnamed assert)
ok 147 (unnamed assert)
ok 148 (unnamed assert)
ok 149 (unnamed assert)
ok 150 (unnamed assert)
# Test that rjust right justifies as expected.
ok 151 (unnamed assert)
ok 152 (unnamed assert)
ok 153 (unnamed assert)
ok 154 (unnamed assert)
ok 155 (unnamed assert)
not ok 156 (unnamed assert)
---
operator: ok
expected: true
actual: false
...
ok 157 (unnamed assert)
ok 158 (unnamed assert)
# Test that upper works.
ok 159 (unnamed assert)
# Test that HTML characters are escaped by default
ok 160 (unnamed assert)
ok 161 should be equal
# Test that HTML characters may be marked 'safe'
ok 162 (unnamed assert)
ok 163 should be equal
# Test that escape automatically escapes the input
ok 164 (unnamed assert)
ok 165 should be equal
# Test that escape does not double-escape the input
ok 166 (unnamed assert)
ok 167 should be equal
# Test that escape respects 'safe'
ok 168 (unnamed assert)
ok 169 should be equal
# Test that force_escape does not respect 'safe'
ok 170 (unnamed assert)
ok 171 should be equal
# Test that slice works with :N
ok 172 should be equal
# Test that slice works with N:
ok 173 should be equal
ok 174 should be equal
# Test that slugify removes unicode, turns spaces into dashes, lowercases everything.
ok 175 (unnamed assert)
# Test that timesince works as expected.
ok 176 (unnamed assert)
ok 177 should be equal
ok 178 should be equal
ok 179 should be equal
ok 180 should be equal
ok 181 should be equal
# Test that timesince may accept an input.
ok 182 (unnamed assert)
ok 183 should be equal
ok 184 should be equal
ok 185 should be equal
ok 186 should be equal
ok 187 should be equal
# Test that timesince displays the largest and second largest bit of multiple time values.
ok 188 (unnamed assert)
ok 189 should be equal
ok 190 should be equal
ok 191 should be equal
# Test that timesince displays '0 minutes' when time is in future, or when time is < 60 seconds away
ok 192 should be equal
ok 193 should be equal
# Test that title titlecases input.
ok 194 (unnamed assert)
not ok 195 (unnamed assert)
---
operator: ok
expected: true
actual: false
...
ok 196 (unnamed assert)
not ok 197 (unnamed assert)
---
operator: ok
expected: true
actual: false
...
ok 198 (unnamed assert)
not ok 199 (unnamed assert)
---
operator: ok
expected: true
actual: false
...
ok 200 (unnamed assert)
not ok 201 (unnamed assert)
---
operator: ok
expected: true
actual: false
...
# Test that striptags removes all HTML tags no matter how cool they are.
ok 202 (unnamed assert)
# Test that a string of characters gets truncated properly.
ok 203 should be equal
ok 204 should be equal
ok 205 should be equal
# Test that a busted number doesn't double call the callback.
ok 206 should be equal
# Test that a string of words gets truncated properly.
ok 207 should be equal
ok 208 should be equal
ok 209 should be equal
# Test that a busted number doesn't double call the callback.
ok 210 should be equal
# Test that unordered list... makes unordered lists. Awesome ones.
ok 211 should be equal
# Test that urlencode encodes all appropriate characters by using the built-in escape function.
ok 212 should be equal
# Test that urlize will turn urls of the form http://whatever.com/whatever, https://whatever.org/whatever into links.
ok 213 should be equal
# Assert that wordcount counts the number of words.
ok 214 should be equal
# Assert that wordwrap wraps lines at a given number.
ok 215 (unnamed assert)
ok 216 (unnamed assert)
ok 217 (unnamed assert)
ok 218 (unnamed assert)
ok 219 (unnamed assert)
ok 220 (unnamed assert)
ok 221 (unnamed assert)
ok 222 (unnamed assert)
ok 223 (unnamed assert)
# Test that the yesno filter coerces values into truthy,falsy
# Test that the yesno filter coerces values into true,false,maybe
ok 224 should be equal
ok 225 should be equal
ok 226 should be equal
ok 227 should be equal
ok 228 should be equal
ok 229 should be equal
# Test the exception cases of plate.Template.
ok 230 should throw
ok 231 should throw
ok 232 should throw
ok 233 should throw
ok 234 should throw
ok 235 (unnamed assert)
ok 236 should be equal
ok 237 (unnamed assert)
ok 238 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 239 should be equal
# Test that filter nodes render as expected.
ok 240 should be equal
ok 241 should be equal
ok 242 should be equal
ok 243 should be equal
ok 244 should be equal
ok 245 should be equal
ok 246 should be equal
ok 247 should be equal
# Test that hitting an unknown tag triggers an error.
ok 248 should be equal
ok 249 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 250 should be equal
ok 251 should throw
# Test that autoregistration of the filter library works as expected.
ok 252 should be equal
ok 253 should throw
# Test that autoregistration of the plugin library works as expected.
ok 254 should be equal
ok 255 should throw
# Test obj.attr lookup failure (synchronous).
ok 256 (unnamed assert)
ok 257 should be equal
ok 258 (unnamed assert)
ok 259 should be equal
ok 260 (unnamed assert)
ok 261 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 262 (unnamed assert)
ok 263 should be equal
ok 264 (unnamed assert)
ok 265 should be equal
# Test obj|attr failure (synchronous and async).
ok 266 should be equal
ok 267 should be equal
# Test that for is enabled by default
ok 268 should throw
# Test that for does not bubble errors if it cannot find the appropriate arrayVar
ok 269 should be equal
# Test that entering a for loop provides the forloop.counter
ok 270 should be equal
ok 271 should be equal
ok 272 should be equal
ok 273 should be equal
ok 274 should be equal
ok 275 should be equal
ok 276 should be equal
# Test that entering a for loop provides the forloop.counter0
ok 277 should be equal
ok 278 should be equal
ok 279 should be equal
# Test that entering a for loop provides the forloop.revcounter
ok 280 should be equal
ok 281 should be equal
ok 282 should be equal
ok 283 should be equal
ok 284 should be equal
ok 285 should be equal
ok 286 should be equal
ok 287 should be equal
ok 288 should be equal
# Test that entering a for loop provides the forloop.revcounter0
ok 289 should be equal
ok 290 should be equal
ok 291 should be equal
ok 292 should be equal
ok 293 should be equal
# Test that entering a for loop provides the forloop.first
ok 294 should be equal
ok 295 should be equal
# Test that entering a for loop provides the forloop.last
ok 296 should be equal
ok 297 should be equal
ok 298 should be equal
ok 299 should be equal
ok 300 should be equal
ok 301 should be equal
# Test that entering a nested forloop provides forloop.parentloop
ok 302 should be equal
ok 303 should be equal
ok 304 should be equal
ok 305 should be equal
ok 306 should be equal
ok 307 should be equal
ok 308 should be equal
ok 309 should be equal
ok 310 should be equal
ok 311 should be equal
ok 312 should be equal
ok 313 should be equal
ok 314 should be equal
ok 315 should be equal
ok 316 should be equal
ok 317 should be equal
ok 318 should be equal
ok 319 should be equal
ok 320 should be equal
ok 321 should be equal
ok 322 should be equal
ok 323 should be equal
ok 324 should be equal
ok 325 should be equal
ok 326 should be equal
ok 327 should be equal
ok 328 should be equal
ok 329 should be equal
ok 330 should be equal
ok 331 should be equal
ok 332 should be equal
ok 333 should be equal
ok 334 should be equal
ok 335 should be equal
ok 336 should be equal
ok 337 should be equal
ok 338 should be equal
ok 339 should be equal
ok 340 should be equal
ok 341 should be equal
ok 342 should be equal
ok 343 should be equal
ok 344 should be equal
ok 345 should be equal
ok 346 should be equal
ok 347 should be equal
ok 348 should be equal
ok 349 should be equal
ok 350 should be equal
ok 351 should be equal
# Test that for unpacks variables as needed
ok 352 should be equal
ok 353 should be equal
ok 354 should be equal
ok 355 should be equal
ok 356 should be equal
ok 357 should be equal
ok 358 should be equal
# Test that for can reverse the contents of an array prior to iteration
ok 359 should be equal
ok 360 should be equal
ok 361 should be equal
ok 362 should be equal
# Test that the with is enabled by default
ok 363 should throw
# Test that with adds the variable into context
ok 364 should be equal
ok 365 should be equal
# Test that with does not leak context variables
ok 366 should be equal
ok 367 should be equal
# Test that an unclosed with statement throws an error
ok 368 should be equal
ok 369 (unnamed assert)
# Test that if tag is enabled by default
ok 370 should throw
# Test that =, ==, and != work
ok 371 should be equal
# Test that in and not in work
ok 372 should be equal
ok 373 should be equal
ok 374 should be equal
ok 375 should be equal
ok 376 should be equal
# Test that >, <, <=, and >= work
ok 377 should be equal
# Test that extends does not trigger a parser error.
ok 378 should throw
# Test that extending a template produces super great results.
ok 379 should be equal
ok 380 should be equal
# Test that multilevel extending works
ok 381 should be equal
ok 382 should be equal
# Test that include does not trigger a parser error
ok 383 should throw
# Test that include will include the contents of the included template into the includer.
ok 384 should be equal
ok 385 should be equal
# Test that the loader plugin works with include
TAP version 13
# Test that the add filter works as expected
ok 1 should be equal
# Test that the addslashes filter works as expected
ok 2 should be equal
# Test that the capfirst filter works as expected
ok 3 should be equal
ok 4 should be equal
ok 5 should be equal
ok 6 should be equal
ok 7 should be equal
ok 8 should be equal
ok 9 should be equal
# Test that the center filter works as expected.
ok 10 should be equal
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
ok 19 should be equal
ok 20 should be equal
ok 21 should be equal
ok 22 should be equal
ok 23 should be equal
ok 24 should be equal
ok 25 should be equal
ok 26 should be equal
# Test that the cut filter works as expected
ok 27 should be equal
ok 28 should be equal
ok 29 should be equal
ok 30 should be equal
ok 31 should be equal
ok 32 should be equal
ok 33 should be equal
ok 34 should be equal
ok 35 should be equal
# Test that the date filter defaults to 'N j, Y'
ok 36 should be equal
# Test that the date filter accepts a format arg
ok 37 should be equal
# Test that the date filter accepts non-date arguments
ok 38 should be equal
ok 39 should be equal
# Test that the default filter works as expected
ok 40 should be equal
ok 41 should be equal
ok 42 should be equal
ok 43 should be equal
ok 44 should be equal
ok 45 should be equal
# Test that the dictsort filter works as expected
ok 46 should be equal
ok 47 should be equal
# Test that the dictsortreversed filter works as expected
ok 48 should be equal
ok 49 should be equal
ok 50 should be equal
ok 51 should be equal
ok 52 should be equal
# Test that the divisibleby filter works as expected
ok 53 should be equal
ok 54 should be equal
ok 55 should be equal
ok 56 should be equal
# Test that the filesizeformat filter works as expected
ok 57 should be equal
ok 58 should be equal
ok 59 should be equal
ok 60 should be equal
ok 61 should be equal
ok 62 should be equal
# Test that the first filter works as expected
ok 63 should be equal
# Test that the floatformat filter works as expected
ok 64 (unnamed assert)
ok 65 (unnamed assert)
ok 66 (unnamed assert)
ok 67 (unnamed assert)
ok 68 (unnamed assert)
ok 69 (unnamed assert)
ok 70 (unnamed assert)
ok 71 (unnamed assert)
ok 72 (unnamed assert)
ok 73 (unnamed assert)
# Test that the get_digit filter works as expected.
ok 74 should be equal
# Test that get_digit returns the original input when given a bad digit
ok 75 should be equal
# Test that the join filter works as expected.
ok 76 should be equal
# Test that last grabs the last element of a list.
ok 77 should be equal
# Test that length works with simple arrays.
ok 78 should be equal
# Test that length works with complex objects.
ok 79 should be equal
# Test that length_is works with simple arrays.
ok 80 should be equal
# Test that length_is works with complex objects.
ok 81 should be equal
# Test that linebreaks wraps all double-spaced elements in <p> tags.
ok 82 should be equal
# Test that linebreaks creates <br /> tags for all single newline characters.
ok 83 should be equal
# Test that linebreaksbr converts all newlines to br elements
ok 84 should be equal
# Test that linenumbers prepends line numbers to each line of input text.
ok 85 should be equal
# Test that ljust left justifies as expected.
ok 86 should be equal
ok 87 should be equal
ok 88 should be equal
ok 89 (unnamed assert)
ok 90 should be equal
ok 91 (unnamed assert)
ok 92 should be equal
ok 93 (unnamed assert)
ok 94 should be equal
ok 95 (unnamed assert)
ok 96 should be equal
ok 97 (unnamed assert)
ok 98 should be equal
ok 99 (unnamed assert)
ok 100 should be equal
ok 101 (unnamed assert)
ok 102 should be equal
ok 103 (unnamed assert)
ok 104 should be equal
ok 105 (unnamed assert)
ok 106 should be equal
ok 107 (unnamed assert)
ok 108 should be equal
ok 109 (unnamed assert)
ok 110 should be equal
ok 111 (unnamed assert)
ok 112 should be equal
ok 113 (unnamed assert)
ok 114 should be equal
ok 115 (unnamed assert)
ok 116 should be equal
ok 117 (unnamed assert)
ok 118 should be equal
ok 119 (unnamed assert)
# Test that lower works.
ok 120 (unnamed assert)
# Test that make_list just passes through arrays.
ok 121 should be equal
ok 122 should be equal
ok 123 should be equal
ok 124 should be equal
ok 125 should be equal
ok 126 should be equal
# Test that make_list works with strings.
ok 127 should be equal
ok 128 should be equal
ok 129 should be equal
ok 130 should be equal
ok 131 should be equal
ok 132 should be equal
ok 133 should be equal
ok 134 should be equal
ok 135 should be equal
ok 136 should be equal
ok 137 should be equal
ok 138 should be equal
ok 139 should be equal
ok 140 should be equal
ok 141 should be equal
ok 142 should be equal
ok 143 should be equal
ok 144 should be equal
ok 145 should be equal
ok 146 should be equal
ok 147 should be equal
ok 148 should be equal
ok 149 should be equal
ok 150 should be equal
ok 151 should be equal
# Test that make_list works with numbers.
ok 152 should be equal
ok 153 should be equal
ok 154 should be equal
# Test that phone2numeric works as expected.
ok 155 should be equal
# Assert that pluralize coerces single argument to plural case.
ok 156 should be equal
# Assert that pluralize coerces two arguments to singular, plural.
ok 157 should be equal
# Assert that random pulls an item out of an array randomly.
ok 158 (unnamed assert)
ok 159 (unnamed assert)
ok 160 (unnamed assert)
ok 161 (unnamed assert)
ok 162 (unnamed assert)
ok 163 (unnamed assert)
ok 164 (unnamed assert)
ok 165 (unnamed assert)
ok 166 (unnamed assert)
ok 167 (unnamed assert)
# Test that rjust right justifies as expected.
ok 168 (unnamed assert)
ok 169 (unnamed assert)
ok 170 (unnamed assert)
ok 171 (unnamed assert)
ok 172 (unnamed assert)
ok 173 (unnamed assert)
ok 174 (unnamed assert)
ok 175 (unnamed assert)
ok 176 (unnamed assert)
ok 177 (unnamed assert)
ok 178 (unnamed assert)
ok 179 (unnamed assert)
ok 180 (unnamed assert)
ok 181 (unnamed assert)
ok 182 (unnamed assert)
ok 183 (unnamed assert)
ok 184 (unnamed assert)
ok 185 (unnamed assert)
ok 186 (unnamed assert)
ok 187 (unnamed assert)
ok 188 (unnamed assert)
ok 189 (unnamed assert)
ok 190 (unnamed assert)
ok 191 (unnamed assert)
ok 192 (unnamed assert)
ok 193 (unnamed assert)
ok 194 (unnamed assert)
ok 195 (unnamed assert)
# Test that upper works.
ok 196 (unnamed assert)
# Test that HTML characters are escaped by default
ok 197 (unnamed assert)
ok 198 should be equal
# Test that HTML characters may be marked 'safe'
ok 199 (unnamed assert)
ok 200 should be equal
# Test that escape automatically escapes the input
ok 201 (unnamed assert)
ok 202 should be equal
# Test that escape does not double-escape the input
ok 203 (unnamed assert)
ok 204 should be equal
# Test that escape respects 'safe'
ok 205 (unnamed assert)
ok 206 should be equal
# Test that force_escape does not respect 'safe'
ok 207 (unnamed assert)
ok 208 should be equal
# Test that slice works with :N
ok 209 should be equal
# Test that slice works with N:
ok 210 should be equal
ok 211 should be equal
# Test that slugify removes unicode, turns spaces into dashes, lowercases everything.
ok 212 (unnamed assert)
# Test that timesince works as expected.
ok 213 (unnamed assert)
ok 214 should be equal
ok 215 should be equal
ok 216 should be equal
ok 217 should be equal
ok 218 should be equal
# Test that timesince may accept an input.
ok 219 (unnamed assert)
ok 220 should be equal
ok 221 should be equal
ok 222 should be equal
ok 223 should be equal
ok 224 should be equal
# Test that timesince displays the largest and second largest bit of multiple time values.
ok 225 (unnamed assert)
ok 226 should be equal
ok 227 should be equal
ok 228 should be equal
# Test that timesince displays '0 minutes' when time is in future, or when time is < 60 seconds away
ok 229 should be equal
ok 230 should be equal
# Test that title titlecases input.
ok 231 (unnamed assert)
ok 232 (unnamed assert)
ok 233 (unnamed assert)
ok 234 (unnamed assert)
ok 235 (unnamed assert)
ok 236 (unnamed assert)
ok 237 (unnamed assert)
ok 238 (unnamed assert)
# Test that striptags removes all HTML tags no matter how cool they are.
ok 239 (unnamed assert)
# Test that a string of characters gets truncated properly.
ok 240 should be equal
ok 241 should be equal
ok 242 should be equal
# Test that a busted number doesn't double call the callback.
ok 243 should be equal
# Test that a string of words gets truncated properly.
ok 244 should be equal
ok 245 should be equal
ok 246 should be equal
# Test that a busted number doesn't double call the callback.
ok 247 should be equal
# Test that unordered list... makes unordered lists. Awesome ones.
ok 248 should be equal
# Test that urlencode encodes all appropriate characters by using the built-in escape function.
ok 249 should be equal
# Test that urlize will turn urls of the form http://whatever.com/whatever, https://whatever.org/whatever into links.
ok 250 should be equal
# Assert that wordcount counts the number of words.
ok 251 should be equal
# Assert that wordwrap wraps lines at a given number.
ok 252 (unnamed assert)
ok 253 (unnamed assert)
ok 254 (unnamed assert)
ok 255 (unnamed assert)
ok 256 (unnamed assert)
ok 257 (unnamed assert)
ok 258 (unnamed assert)
ok 259 (unnamed assert)
ok 260 (unnamed assert)
# Test that the yesno filter coerces values into truthy,falsy
# Test that the yesno filter coerces values into true,false,maybe
ok 261 should be equal
ok 262 should be equal
ok 263 should be equal
ok 264 should be equal
ok 265 should be equal
ok 266 should be equal
# Test the exception cases of plate.Template.
ok 267 should throw
ok 268 should throw
ok 269 should throw
ok 270 should throw
ok 271 should throw
ok 272 (unnamed assert)
ok 273 should be equal
ok 274 (unnamed assert)
ok 275 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 276 should be equal
# Test that filter nodes render as expected.
ok 277 should be equal
ok 278 should be equal
ok 279 should be equal
ok 280 should be equal
ok 281 should be equal
ok 282 should be equal
ok 283 should be equal
ok 284 should be equal
# Test that hitting an unknown tag triggers an error.
ok 285 should be equal
ok 286 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 287 should be equal
ok 288 should throw
# Test that autoregistration of the filter library works as expected.
ok 289 should be equal
ok 290 should throw
# Test that autoregistration of the plugin library works as expected.
ok 291 should be equal
ok 292 should throw
# Test obj.attr lookup failure (synchronous).
ok 293 (unnamed assert)
ok 294 should be equal
ok 295 (unnamed assert)
ok 296 should be equal
ok 297 (unnamed assert)
ok 298 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 299 (unnamed assert)
ok 300 should be equal
ok 301 (unnamed assert)
ok 302 should be equal
# Test obj|attr failure (synchronous and async).
ok 303 should be equal
ok 304 should be equal
# Test that for is enabled by default
ok 305 should throw
# Test that for does not bubble errors if it cannot find the appropriate arrayVar
ok 306 should be equal
# Test that entering a for loop provides the forloop.counter
ok 307 should be equal
ok 308 should be equal
ok 309 should be equal
ok 310 should be equal
ok 311 should be equal
ok 312 should be equal
ok 313 should be equal
ok 314 should be equal
ok 315 should be equal
# Test that entering a for loop provides the forloop.counter0
ok 316 should be equal
ok 317 should be equal
ok 318 should be equal
ok 319 should be equal
ok 320 should be equal
ok 321 should be equal
ok 322 should be equal
ok 323 should be equal
ok 324 should be equal
ok 325 should be equal
# Test that entering a for loop provides the forloop.revcounter
ok 326 should be equal
ok 327 should be equal
ok 328 should be equal
ok 329 should be equal
ok 330 should be equal
ok 331 should be equal
# Test that entering a for loop provides the forloop.revcounter0
ok 332 should be equal
ok 333 should be equal
ok 334 should be equal
ok 335 should be equal
ok 336 should be equal
ok 337 should be equal
# Test that entering a for loop provides the forloop.first
ok 338 should be equal
ok 339 should be equal
ok 340 should be equal
ok 341 should be equal
# Test that entering a for loop provides the forloop.last
ok 342 should be equal
ok 343 should be equal
ok 344 should be equal
ok 345 should be equal
ok 346 should be equal
# Test that entering a nested forloop provides forloop.parentloop
ok 347 should be equal
ok 348 should be equal
ok 349 should be equal
ok 350 should be equal
ok 351 should be equal
ok 352 should be equal
ok 353 should be equal
ok 354 should be equal
ok 355 should be equal
ok 356 should be equal
ok 357 should be equal
ok 358 should be equal
ok 359 should be equal
ok 360 should be equal
ok 361 should be equal
ok 362 should be equal
ok 363 should be equal
# Test that for unpacks variables as needed
ok 364 should be equal
ok 365 should be equal
ok 366 should be equal
ok 367 should be equal
ok 368 should be equal
ok 369 should be equal
ok 370 should be equal
ok 371 should be equal
ok 372 should be equal
ok 373 should be equal
ok 374 should be equal
# Test that for can reverse the contents of an array prior to iteration
ok 375 should be equal
ok 376 should be equal
ok 377 should be equal
# Test that the with is enabled by default
ok 378 should throw
# Test that with adds the variable into context
ok 379 should be equal
ok 380 should be equal
# Test that with does not leak context variables
ok 381 should be equal
ok 382 should be equal
# Test that an unclosed with statement throws an error
ok 383 should be equal
ok 384 (unnamed assert)
# Test that if tag is enabled by default
ok 385 should throw
# Test that =, ==, and != work
ok 386 should be equal
# Test that in and not in work
ok 387 should be equal
ok 388 should be equal
ok 389 should be equal
ok 390 should be equal
ok 391 should be equal
# Test that >, <, <=, and >= work
ok 392 should be equal
# Test that extends does not trigger a parser error.
ok 393 should throw
# Test that extending a template produces super great results.
TAP version 13
# Test that the add filter works as expected
not ok 1 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the addslashes filter works as expected
not ok 2 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the capfirst filter works as expected
not ok 3 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the center filter works as expected.
not ok 4 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the cut filter works as expected
not ok 5 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the date filter defaults to 'N j, Y'
not ok 6 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the date filter accepts a format arg
not ok 7 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the date filter accepts non-date arguments
not ok 8 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the default filter works as expected
not ok 9 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the dictsort filter works as expected
not ok 10 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the dictsortreversed filter works as expected
not ok 11 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the divisibleby filter works as expected
not ok 12 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the filesizeformat filter works as expected
not ok 13 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the first filter works as expected
not ok 14 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the floatformat filter works as expected
not ok 15 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the get_digit filter works as expected.
not ok 16 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that get_digit returns the original input when given a bad digit
not ok 17 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that the join filter works as expected.
not ok 18 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that last grabs the last element of a list.
not ok 19 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that length works with simple arrays.
not ok 20 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that length works with complex objects.
not ok 21 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that length_is works with simple arrays.
not ok 22 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that length_is works with complex objects.
not ok 23 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that linebreaks wraps all double-spaced elements in <p> tags.
not ok 24 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that linebreaks creates <br /> tags for all single newline characters.
not ok 25 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that linebreaksbr converts all newlines to br elements
not ok 26 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that linenumbers prepends line numbers to each line of input text.
not ok 27 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that ljust left justifies as expected.
not ok 28 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that lower works.
not ok 29 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that make_list just passes through arrays.
not ok 30 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that make_list works with strings.
not ok 31 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that make_list works with numbers.
not ok 32 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that phone2numeric works as expected.
not ok 33 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Assert that pluralize coerces single argument to plural case.
not ok 34 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Assert that pluralize coerces two arguments to singular, plural.
not ok 35 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Assert that random pulls an item out of an array randomly.
not ok 36 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that rjust right justifies as expected.
not ok 37 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that upper works.
not ok 38 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that HTML characters are escaped by default
not ok 39 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that HTML characters may be marked 'safe'
not ok 40 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that escape automatically escapes the input
not ok 41 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that escape does not double-escape the input
not ok 42 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that escape respects 'safe'
not ok 43 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that force_escape does not respect 'safe'
not ok 44 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that slice works with :N
not ok 45 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that slice works with N:
not ok 46 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that slugify removes unicode, turns spaces into dashes, lowercases everything.
not ok 47 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that timesince works as expected.
not ok 48 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that timesince may accept an input.
not ok 49 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that timesince displays the largest and second largest bit of multiple time values.
not ok 50 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that timesince displays '0 minutes' when time is in future, or when time is < 60 seconds away
not ok 51 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that title titlecases input.
not ok 52 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that striptags removes all HTML tags no matter how cool they are.
not ok 53 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that a string of characters gets truncated properly.
not ok 54 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
TAP version 13
# Test the exception cases of plate.Template.
ok 1 should throw
ok 2 should throw
ok 3 should throw
ok 4 should throw
ok 5 should throw
ok 6 (unnamed assert)
ok 7 should be equal
ok 8 (unnamed assert)
ok 9 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 10 should be equal
# Test that filter nodes render as expected.
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
# Test that hitting an unknown tag triggers an error.
ok 19 should be equal
ok 20 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 21 should be equal
ok 22 should throw
# Test that autoregistration of the filter library works as expected.
ok 23 should be equal
ok 24 should throw
# Test that autoregistration of the plugin library works as expected.
ok 25 should be equal
ok 26 should throw
# Test obj.attr lookup failure (synchronous).
ok 27 (unnamed assert)
ok 28 should be equal
ok 29 (unnamed assert)
ok 30 should be equal
ok 31 (unnamed assert)
ok 32 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 33 (unnamed assert)
ok 34 should be equal
ok 35 (unnamed assert)
ok 36 should be equal
# Test obj|attr failure (synchronous and async).
ok 37 should be equal
ok 38 should be equal
1..38
# tests 38
# pass 38
# ok
TAP version 13
# Test the exception cases of plate.Template.
ok 1 should throw
ok 2 should throw
ok 3 should throw
ok 4 should throw
ok 5 should throw
ok 6 (unnamed assert)
ok 7 should be equal
ok 8 (unnamed assert)
ok 9 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 10 should be equal
# Test that filter nodes render as expected.
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
# Test that hitting an unknown tag triggers an error.
ok 19 should be equal
ok 20 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 21 should be equal
ok 22 should throw
# Test that autoregistration of the filter library works as expected.
ok 23 should be equal
ok 24 should throw
# Test that autoregistration of the plugin library works as expected.
ok 25 should be equal
ok 26 should throw
# Test obj.attr lookup failure (synchronous).
ok 27 (unnamed assert)
ok 28 should be equal
ok 29 (unnamed assert)
ok 30 should be equal
ok 31 (unnamed assert)
ok 32 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 33 (unnamed assert)
ok 34 should be equal
ok 35 (unnamed assert)
ok 36 should be equal
# Test obj|attr failure (synchronous and async).
ok 37 should be equal
ok 38 should be equal
1..38
# tests 38
# pass 38
# ok
TAP version 13
# Test the exception cases of plate.Template.
ok 1 should throw
ok 2 should throw
ok 3 should throw
ok 4 should throw
ok 5 should throw
ok 6 (unnamed assert)
ok 7 should be equal
ok 8 (unnamed assert)
ok 9 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 10 should be equal
# Test that filter nodes render as expected.
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
# Test that hitting an unknown tag triggers an error.
ok 19 should be equal
ok 20 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 21 should be equal
ok 22 should throw
# Test that autoregistration of the filter library works as expected.
ok 23 should be equal
ok 24 should throw
# Test that autoregistration of the plugin library works as expected.
ok 25 should be equal
ok 26 should throw
# Test obj.attr lookup failure (synchronous).
ok 27 (unnamed assert)
ok 28 should be equal
ok 29 (unnamed assert)
ok 30 should be equal
ok 31 (unnamed assert)
ok 32 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 33 (unnamed assert)
ok 34 should be equal
ok 35 (unnamed assert)
ok 36 should be equal
# Test obj|attr failure (synchronous and async).
ok 37 should be equal
ok 38 should be equal
1..38
# tests 38
# pass 38
# ok
TAP version 13
# Test the exception cases of plate.Template.
ok 1 should throw
ok 2 should throw
ok 3 should throw
ok 4 should throw
ok 5 should throw
ok 6 (unnamed assert)
ok 7 should be equal
ok 8 (unnamed assert)
ok 9 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 10 should be equal
# Test that filter nodes render as expected.
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
# Test that hitting an unknown tag triggers an error.
ok 19 should be equal
ok 20 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 21 should be equal
ok 22 should throw
# Test that autoregistration of the filter library works as expected.
ok 23 should be equal
ok 24 should throw
# Test that autoregistration of the plugin library works as expected.
ok 25 should be equal
ok 26 should throw
# Test obj.attr lookup failure (synchronous).
ok 27 (unnamed assert)
ok 28 should be equal
ok 29 (unnamed assert)
ok 30 should be equal
ok 31 (unnamed assert)
ok 32 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 33 (unnamed assert)
ok 34 should be equal
ok 35 (unnamed assert)
ok 36 should be equal
# Test obj|attr failure (synchronous and async).
ok 37 should be equal
ok 38 should be equal
1..38
# tests 38
# pass 38
# ok
TAP version 13
# Test the exception cases of plate.Template.
ok 1 should throw
ok 2 should throw
ok 3 should throw
ok 4 should throw
ok 5 should throw
ok 6 (unnamed assert)
ok 7 should be equal
ok 8 (unnamed assert)
ok 9 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 10 should be equal
# Test that filter nodes render as expected.
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
# Test that hitting an unknown tag triggers an error.
ok 19 should be equal
ok 20 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 21 should be equal
ok 22 should throw
# Test that autoregistration of the filter library works as expected.
ok 23 should be equal
ok 24 should throw
# Test that autoregistration of the plugin library works as expected.
ok 25 should be equal
ok 26 should throw
# Test obj.attr lookup failure (synchronous).
ok 27 (unnamed assert)
ok 28 should be equal
ok 29 (unnamed assert)
ok 30 should be equal
ok 31 (unnamed assert)
ok 32 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 33 (unnamed assert)
ok 34 should be equal
ok 35 (unnamed assert)
not ok 36 should be equal
---
operator: equal
expected: "test "
actual: "test 0"
...
# Test obj|attr failure (synchronous and async).
ok 37 should be equal
ok 38 should be equal
1..38
# tests 38
# pass 37
# fail 1
TAP version 13
# Test the exception cases of plate.Template.
ok 1 should throw
ok 2 should throw
ok 3 should throw
ok 4 should throw
ok 5 should throw
ok 6 (unnamed assert)
ok 7 should be equal
ok 8 (unnamed assert)
ok 9 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 10 should be equal
# Test that filter nodes render as expected.
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
# Test that hitting an unknown tag triggers an error.
ok 19 should be equal
ok 20 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 21 should be equal
ok 22 should throw
# Test that autoregistration of the filter library works as expected.
ok 23 should be equal
ok 24 should throw
# Test that autoregistration of the plugin library works as expected.
ok 25 should be equal
ok 26 should throw
# Test obj.attr lookup failure (synchronous).
ok 27 (unnamed assert)
ok 28 should be equal
ok 29 (unnamed assert)
ok 30 should be equal
ok 31 (unnamed assert)
ok 32 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 33 (unnamed assert)
ok 34 should be equal
ok 35 (unnamed assert)
not ok 36 should be equal
---
operator: equal
expected: "test "
actual: "test 16"
...
# Test obj|attr failure (synchronous and async).
ok 37 should be equal
ok 38 should be equal
1..38
# tests 38
# pass 37
# fail 1
TAP version 13
# Test the exception cases of plate.Template.
ok 1 should throw
ok 2 should throw
ok 3 should throw
ok 4 should throw
ok 5 should throw
ok 6 (unnamed assert)
ok 7 should be equal
ok 8 (unnamed assert)
ok 9 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 10 should be equal
# Test that filter nodes render as expected.
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
# Test that hitting an unknown tag triggers an error.
ok 19 should be equal
ok 20 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 21 should be equal
ok 22 should throw
# Test that autoregistration of the filter library works as expected.
ok 23 should be equal
ok 24 should throw
# Test that autoregistration of the plugin library works as expected.
ok 25 should be equal
ok 26 should throw
# Test obj.attr lookup failure (synchronous).
ok 27 (unnamed assert)
ok 28 should be equal
ok 29 (unnamed assert)
ok 30 should be equal
ok 31 (unnamed assert)
ok 32 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 33 (unnamed assert)
ok 34 should be equal
ok 35 (unnamed assert)
ok 36 should be equal
# Test obj|attr failure (synchronous and async).
ok 37 should be equal
ok 38 should be equal
1..38
# tests 38
# pass 38
# ok
TAP version 13
# Test the exception cases of plate.Template.
not ok 1 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that encountering a {% tag %} will lookup that tag in the provided library
not ok 2 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that filter nodes render as expected.
not ok 3 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that hitting an unknown tag triggers an error.
not ok 4 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that autoregistration of the tag library works as expected.
not ok 5 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that autoregistration of the filter library works as expected.
not ok 6 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that autoregistration of the plugin library works as expected.
not ok 7 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test obj.attr lookup failure (synchronous).
not ok 8 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test obj.attr lookup failure (asynchronous).
ok 9 (unnamed assert)
ok 10 should be equal
ok 11 (unnamed assert)
ok 12 should be equal
# Test obj|attr failure (synchronous and async).
not ok 13 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
1..13
# tests 13
# pass 4
# fail 9
TAP version 13
# Test the exception cases of plate.Template.
not ok 1 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that encountering a {% tag %} will lookup that tag in the provided library
not ok 2 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that filter nodes render as expected.
not ok 3 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that hitting an unknown tag triggers an error.
not ok 4 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that autoregistration of the tag library works as expected.
not ok 5 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that autoregistration of the filter library works as expected.
not ok 6 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that autoregistration of the plugin library works as expected.
not ok 7 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test obj.attr lookup failure (synchronous).
not ok 8 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test obj.attr lookup failure (asynchronous).
ok 9 (unnamed assert)
ok 10 should be equal
ok 11 (unnamed assert)
ok 12 should be equal
# Test obj|attr failure (synchronous and async).
not ok 13 [object Error]
---
operator: error
expected:
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
1..13
# tests 13
# pass 4
# fail 9
TAP version 13
# Test the exception cases of plate.Template.
ok 1 should throw
ok 2 should throw
ok 3 should throw
ok 4 should throw
ok 5 should throw
ok 6 (unnamed assert)
ok 7 should be equal
ok 8 (unnamed assert)
ok 9 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 10 should be equal
# Test that filter nodes render as expected.
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
# Test that hitting an unknown tag triggers an error.
ok 19 should be equal
ok 20 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 21 should be equal
ok 22 should throw
# Test that autoregistration of the filter library works as expected.
ok 23 should be equal
ok 24 should throw
# Test that autoregistration of the plugin library works as expected.
ok 25 should be equal
ok 26 should throw
# Test obj.attr lookup failure (synchronous).
ok 27 (unnamed assert)
ok 28 should be equal
ok 29 (unnamed assert)
ok 30 should be equal
ok 31 (unnamed assert)
ok 32 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 33 (unnamed assert)
ok 34 should be equal
ok 35 (unnamed assert)
ok 36 should be equal
# Test obj|attr failure (synchronous and async).
ok 37 should be equal
ok 38 should be equal
1..38
# tests 38
# pass 38
# ok
TAP version 13
# Test the exception cases of plate.Template.
ok 1 should throw
ok 2 should throw
ok 3 should throw
ok 4 should throw
ok 5 should throw
ok 6 (unnamed assert)
ok 7 should be equal
ok 8 (unnamed assert)
ok 9 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 10 should be equal
# Test that filter nodes render as expected.
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
# Test that hitting an unknown tag triggers an error.
ok 19 should be equal
ok 20 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 21 should be equal
ok 22 should throw
# Test that autoregistration of the filter library works as expected.
ok 23 should be equal
ok 24 should throw
# Test that autoregistration of the plugin library works as expected.
ok 25 should be equal
ok 26 should throw
# Test obj.attr lookup failure (synchronous).
ok 27 (unnamed assert)
ok 28 should be equal
ok 29 (unnamed assert)
ok 30 should be equal
ok 31 (unnamed assert)
ok 32 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 33 (unnamed assert)
ok 34 should be equal
ok 35 (unnamed assert)
ok 36 should be equal
# Test obj|attr failure (synchronous and async).
ok 37 should be equal
ok 38 should be equal
1..38
# tests 38
# pass 38
# ok
TAP version 13
# Test the exception cases of plate.Template.
ok 1 should throw
ok 2 should throw
ok 3 should throw
ok 4 should throw
ok 5 should throw
ok 6 (unnamed assert)
ok 7 should be equal
ok 8 (unnamed assert)
ok 9 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 10 should be equal
# Test that filter nodes render as expected.
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
# Test that hitting an unknown tag triggers an error.
ok 19 should be equal
ok 20 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 21 should be equal
ok 22 should throw
# Test that autoregistration of the filter library works as expected.
ok 23 should be equal
ok 24 should throw
# Test that autoregistration of the plugin library works as expected.
ok 25 should be equal
ok 26 should throw
# Test obj.attr lookup failure (synchronous).
ok 27 (unnamed assert)
ok 28 should be equal
ok 29 (unnamed assert)
ok 30 should be equal
ok 31 (unnamed assert)
ok 32 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 33 (unnamed assert)
ok 34 should be equal
ok 35 (unnamed assert)
ok 36 should be equal
# Test obj|attr failure (synchronous and async).
ok 37 should be equal
ok 38 should be equal
1..38
# tests 38
# pass 38
# ok
TAP version 13
# Test the exception cases of plate.Template.
ok 1 should throw
ok 2 should throw
ok 3 should throw
ok 4 should throw
ok 5 should throw
ok 6 (unnamed assert)
ok 7 should be equal
ok 8 (unnamed assert)
ok 9 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 10 should be equal
# Test that filter nodes render as expected.
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
# Test that hitting an unknown tag triggers an error.
ok 19 should be equal
ok 20 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 21 should be equal
ok 22 should throw
# Test that autoregistration of the filter library works as expected.
ok 23 should be equal
ok 24 should throw
# Test that autoregistration of the plugin library works as expected.
ok 25 should be equal
ok 26 should throw
# Test obj.attr lookup failure (synchronous).
ok 27 (unnamed assert)
ok 28 should be equal
ok 29 (unnamed assert)
ok 30 should be equal
ok 31 (unnamed assert)
ok 32 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 33 (unnamed assert)
ok 34 should be equal
ok 35 (unnamed assert)
ok 36 should be equal
# Test obj|attr failure (synchronous and async).
ok 37 should be equal
ok 38 should be equal
1..38
# tests 38
# pass 38
# ok
TAP version 13
# Test the exception cases of plate.Template.
ok 1 should throw
ok 2 should throw
ok 3 should throw
ok 4 should throw
ok 5 should throw
ok 6 (unnamed assert)
ok 7 should be equal
ok 8 (unnamed assert)
ok 9 should be equal
# Test that encountering a {% tag %} will lookup that tag in the provided library
ok 10 should be equal
# Test that filter nodes render as expected.
ok 11 should be equal
ok 12 should be equal
ok 13 should be equal
ok 14 should be equal
ok 15 should be equal
ok 16 should be equal
ok 17 should be equal
ok 18 should be equal
# Test that hitting an unknown tag triggers an error.
ok 19 should be equal
ok 20 (unnamed assert)
# Test that autoregistration of the tag library works as expected.
ok 21 should be equal
ok 22 should throw
# Test that autoregistration of the filter library works as expected.
ok 23 should be equal
ok 24 should throw
# Test that autoregistration of the plugin library works as expected.
ok 25 should be equal
ok 26 should throw
# Test obj.attr lookup failure (synchronous).
ok 27 (unnamed assert)
ok 28 should be equal
ok 29 (unnamed assert)
ok 30 should be equal
ok 31 (unnamed assert)
ok 32 should be equal
# Test obj.attr lookup failure (asynchronous).
ok 33 (unnamed assert)
ok 34 should be equal
ok 35 (unnamed assert)
ok 36 should be equal
# Test obj|attr failure (synchronous and async).
ok 37 should be equal
ok 38 should be equal
1..38
# tests 38
# pass 38
# ok
TAP version 13
# Test the exception cases of plate.Template.
not ok 1 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that encountering a {% tag %} will lookup that tag in the provided library
not ok 2 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that filter nodes render as expected.
not ok 3 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that hitting an unknown tag triggers an error.
not ok 4 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that autoregistration of the tag library works as expected.
not ok 5 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that autoregistration of the filter library works as expected.
not ok 6 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test that autoregistration of the plugin library works as expected.
not ok 7 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test obj.attr lookup failure (synchronous).
not ok 8 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
# Test obj.attr lookup failure (asynchronous).
ok 9 (unnamed assert)
ok 10 should be equal
ok 11 (unnamed assert)
ok 12 should be equal
# Test obj|attr failure (synchronous and async).
not ok 13 TypeError: Object doesn't support this action
---
operator: error
expected:
undefined
actual:
{"message":"Object doesn't support this action","number":-2146827843,"description":"Object doesn't support this action"}
...
1..13
# tests 13
# pass 4
# fail 9