comparison tests/test-run-tests.t @ 28126:562a073a2a1b

tests: load json with no fallback The json module should be available in Python 2.6 or newer.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 09 Jan 2016 13:20:15 +0900
parents 54c896f8bb79
children 2836a43c7722
comparison
equal deleted inserted replaced
28125:3b4537ba80e9 28126:562a073a2a1b
528 }, 528 },
529 "test-failure.t": { 529 "test-failure.t": {
530 "result": "skip" 530 "result": "skip"
531 } 531 }
532 } (no-eol) 532 } (no-eol)
533 #if json
534
535 test for --json 533 test for --json
536 ================== 534 ==================
537 535
538 $ rt --json 536 $ rt --json
539 537
632 "time": "\s*[\d\.]{4,5}" (re) 630 "time": "\s*[\d\.]{4,5}" (re)
633 } 631 }
634 } (no-eol) 632 } (no-eol)
635 $ mv backup test-failure.t 633 $ mv backup test-failure.t
636 634
637 #endif
638
639 backslash on end of line with glob matching is handled properly 635 backslash on end of line with glob matching is handled properly
640 636
641 $ cat > test-glob-backslash.t << EOF 637 $ cat > test-glob-backslash.t << EOF
642 > $ echo 'foo bar \\' 638 > $ echo 'foo bar \\'
643 > foo * \ (glob) 639 > foo * \ (glob)