comparison src/testdir/test57.in @ 7447:ad432f8f68fb v7.4.1027

commit https://github.com/vim/vim/commit/887c1fea4a114e7170091942d0446c8882701b5b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 2 17:56:35 2016 +0100 patch 7.4.1027 Problem: No support for binary numbers. Solution: Add "bin" to nrformats. (Jason Schulz)
author Christian Brabandt <cb@256bit.org>
date Sat, 02 Jan 2016 18:00:05 +0100
parents 94694351f592
children 20dc2763a3b9
comparison
equal deleted inserted replaced
7446:a67ee44e5848 7447:ad432f8f68fb
28 :/^t23:/+1,/^t24/-1sort/\d\d/x 28 :/^t23:/+1,/^t24/-1sort/\d\d/x
29 :/^t24:/+1,/^t25/-1sort/\d\d/r 29 :/^t24:/+1,/^t25/-1sort/\d\d/r
30 :/^t25:/+1,/^t26/-1sort/\d\d/rn 30 :/^t25:/+1,/^t26/-1sort/\d\d/rn
31 :/^t26:/+1,/^t27/-1sort/\d\d/rx 31 :/^t26:/+1,/^t27/-1sort/\d\d/rx
32 :/^t27:/+1,/^t28/-1sort no 32 :/^t27:/+1,/^t28/-1sort no
33 :/^t28:/+1,/^t29/-1sort b
34 :/^t29:/+1,/^t30/-1sort b
33 :/^t01:/,$wq! test.out 35 :/^t01:/,$wq! test.out
34 ENDTEST 36 ENDTEST
35 37
36 t01: alphebetical 38 t01: alphebetical
37 abc 39 abc
492 123b 494 123b
493 c321d 495 c321d
494 b322b 496 b322b
495 b321 497 b321
496 b321b 498 b321b
497 499 t28: binary
498 500
499 t28: done 501
500 502 0b111000
503 0b101100
504 0b101001
505 0b101001
506 0b101000
507 0b000000
508 0b001000
509 0b010000
510 0b101000
511 0b100000
512 0b101010
513 0b100010
514 0b100100
515 0b100010
516 t29: binary with leading characters
517
518
519 0b100010
520 0b010000
521 0b101001
522 b0b101100
523 0b100010
524 0b100100
525 a0b001000
526 0b101000
527 0b101000
528 a0b101001
529 ab0b100000
530 0b101010
531 0b000000
532 b0b111000
533 t30: done