File: width-test

package info (click to toggle)
tig 2.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,388 kB
  • sloc: ansic: 32,985; sh: 10,118; makefile: 389
file content (648 lines) | stat: -rwxr-xr-x 27,989 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
#!/bin/sh

. libtest.sh
. libgit.sh

export LINES=16
export COLUMNS=200

tigrc <<EOF
set line-graphics = ascii
EOF

in_work_dir create_repo_from_tgz "$base_dir/files/scala-js-benchmarks.tgz"

### main-view

test_case main-widths-default \
	--script='
	:set main-view = id:yes line-number:yes,interval=5 date:default author:full commit-title:yes,graph,refs,overflow=no
	:refresh
	' \
	<<EOF
ee91287   1| 2014-03-01 17:26 -0500 Jonas Fonseca      * [master] WIP: Upgrade to 0.4-SNAPSHOT and DCE
a1dcf1a    | 2014-03-01 15:59 -0500 Jonas Fonseca      * Add type parameter for js.Dynamic
296fc90    | 2014-01-16 22:51 -0500 Jonas Fonseca      * Move classes under org.scalajs.benchmark package scope
b4ad81f    | 2014-01-16 17:43 -0500 Jonas Fonseca      * Bump Scala.js version to 0.3-SNAPSHOT
4a68cf3   5| 2014-01-16 17:39 -0500 Jonas Fonseca      * Integrate app code into the benchmark infrastructure
e59a941    | 2014-01-16 07:47 -0800 Jonas Fonseca      M-. Merge pull request #4 from phaller/patch-1
940efaf    | 2014-01-16 15:32 +0100 Philipp Haller     | * Fix link to Dart benchmark harness
110e090    | 2013-12-17 00:02 +0100 Jonas Fonseca      *-' Update links to reflect project name change
894a53e    | 2013-12-03 23:35 -0500 Jonas Fonseca      * Use Scala.js 0.2-SNAPSHOT
c819b08  10| 2013-11-26 23:39 -0500 Jonas Fonseca      * Extract the benchmark list variable name; fix push to use scoped variable
5bd6df6    | 2013-11-26 23:31 -0500 Jonas Fonseca      * Solve the easiest sudoku grid
988c77a    | 2013-11-26 23:22 -0500 Jonas Fonseca      * Disable phantomjs by default
5d84af0    | 2013-11-26 22:55 -0500 Jonas Fonseca      * Exclude Sudoku when running all benchmarks
5d80606    | 2013-11-26 22:52 -0500 Jonas Fonseca      * Fix reference setup to work for node
[main] ee912870202200a0b9cf4fd86ba57243212d341e - commit 1 of 48                                                                                                                                     29%
EOF

test_case main-widths-1 \
	--script='
	:set main-view = id:yes,width=1 line-number:yes,interval=5,width=1 date:default,width=1 author:full,width=1 commit-title:yes,graph,refs,overflow=no
	:refresh
	' \
	<<EOF
e   1| 2 J * [master] WIP: Upgrade to 0.4-SNAPSHOT and DCE
a    | 2 J * Add type parameter for js.Dynamic
2    | 2 J * Move classes under org.scalajs.benchmark package scope
b    | 2 J * Bump Scala.js version to 0.3-SNAPSHOT
4   5| 2 J * Integrate app code into the benchmark infrastructure
e    | 2 J M-. Merge pull request #4 from phaller/patch-1
9    | 2 P | * Fix link to Dart benchmark harness
1    | 2 J *-' Update links to reflect project name change
8    | 2 J * Use Scala.js 0.2-SNAPSHOT
c  10| 2 J * Extract the benchmark list variable name; fix push to use scoped variable
5    | 2 J * Solve the easiest sudoku grid
9    | 2 J * Disable phantomjs by default
5    | 2 J * Exclude Sudoku when running all benchmarks
5    | 2 J * Fix reference setup to work for node
[main] ee912870202200a0b9cf4fd86ba57243212d341e - commit 1 of 48                                                                                                                                     29%
EOF

test_case main-widths-2 \
	--script='
	:set main-view = id:yes,width=2 line-number:yes,interval=5,width=2 date:default,width=2 author:full,width=2 commit-title:yes,graph,refs,overflow=no
	:refresh
	' \
	<<EOF
ee   1| 20 JF * [master] WIP: Upgrade to 0.4-SNAPSHOT and DCE
a1    | 20 JF * Add type parameter for js.Dynamic
29    | 20 JF * Move classes under org.scalajs.benchmark package scope
b4    | 20 JF * Bump Scala.js version to 0.3-SNAPSHOT
4a   5| 20 JF * Integrate app code into the benchmark infrastructure
e5    | 20 JF M-. Merge pull request #4 from phaller/patch-1
94    | 20 PH | * Fix link to Dart benchmark harness
11    | 20 JF *-' Update links to reflect project name change
89    | 20 JF * Use Scala.js 0.2-SNAPSHOT
c8  10| 20 JF * Extract the benchmark list variable name; fix push to use scoped variable
5b    | 20 JF * Solve the easiest sudoku grid
98    | 20 JF * Disable phantomjs by default
5d    | 20 JF * Exclude Sudoku when running all benchmarks
5d    | 20 JF * Fix reference setup to work for node
[main] ee912870202200a0b9cf4fd86ba57243212d341e - commit 1 of 48                                                                                                                                     29%
EOF

test_case main-widths-5 \
	--script='
	:set main-view = id:yes,width=5 line-number:yes,interval=5,width=5 date:default,width=5 author:full,width=5 commit-title:yes,graph,refs,overflow=no
	:refresh
	' \
	<<EOF
ee912     1| 2014- JFons * [master] WIP: Upgrade to 0.4-SNAPSHOT and DCE
a1dcf      | 2014- JFons * Add type parameter for js.Dynamic
296fc      | 2014- JFons * Move classes under org.scalajs.benchmark package scope
b4ad8      | 2014- JFons * Bump Scala.js version to 0.3-SNAPSHOT
4a68c     5| 2014- JFons * Integrate app code into the benchmark infrastructure
e59a9      | 2014- JFons M-. Merge pull request #4 from phaller/patch-1
940ef      | 2014- PHall | * Fix link to Dart benchmark harness
110e0      | 2013- JFons *-' Update links to reflect project name change
894a5      | 2013- JFons * Use Scala.js 0.2-SNAPSHOT
c819b    10| 2013- JFons * Extract the benchmark list variable name; fix push to use scoped variable
5bd6d      | 2013- JFons * Solve the easiest sudoku grid
988c7      | 2013- JFons * Disable phantomjs by default
5d84a      | 2013- JFons * Exclude Sudoku when running all benchmarks
5d806      | 2013- JFons * Fix reference setup to work for node
[main] ee912870202200a0b9cf4fd86ba57243212d341e - commit 1 of 48                                                                                                                                     29%
EOF

test_case main-widths-20 \
	--script='
	:set main-view = id:yes,width=20 line-number:yes,interval=5,width=20 date:default,width=20 author:full,width=20 commit-title:yes,graph,refs,overflow=no
	:refresh
	' \
	<<EOF
ee912870202200a0b9cf         1| 2014-03-01 17:26 -05 Jonas Fonseca      * [master] WIP: Upgrade to 0.4-SNAPSHOT and DCE
a1dcf1aaa11470978db1          | 2014-03-01 15:59 -05 Jonas Fonseca      * Add type parameter for js.Dynamic
296fc90ba2c47ba3d2b6          | 2014-01-16 22:51 -05 Jonas Fonseca      * Move classes under org.scalajs.benchmark package scope
b4ad81f17b4c3fc33ed5          | 2014-01-16 17:43 -05 Jonas Fonseca      * Bump Scala.js version to 0.3-SNAPSHOT
4a68cf3c338f5724d838         5| 2014-01-16 17:39 -05 Jonas Fonseca      * Integrate app code into the benchmark infrastructure
e59a941c4e7d51cd172e          | 2014-01-16 07:47 -08 Jonas Fonseca      M-. Merge pull request #4 from phaller/patch-1
940efafc379db7c6df99          | 2014-01-16 15:32 +01 Philipp Haller     | * Fix link to Dart benchmark harness
110e090f815f40d649f5          | 2013-12-17 00:02 +01 Jonas Fonseca      *-' Update links to reflect project name change
894a53e03a017642abdc          | 2013-12-03 23:35 -05 Jonas Fonseca      * Use Scala.js 0.2-SNAPSHOT
c819b08eb5b05dde4df5        10| 2013-11-26 23:39 -05 Jonas Fonseca      * Extract the benchmark list variable name; fix push to use scoped variable
5bd6df6603f25ff035f1          | 2013-11-26 23:31 -05 Jonas Fonseca      * Solve the easiest sudoku grid
988c77aad5798f1e087e          | 2013-11-26 23:22 -05 Jonas Fonseca      * Disable phantomjs by default
5d84af022bc87ef13c29          | 2013-11-26 22:55 -05 Jonas Fonseca      * Exclude Sudoku when running all benchmarks
5d80606b72b490e213a0          | 2013-11-26 22:52 -05 Jonas Fonseca      * Fix reference setup to work for node
[main] ee912870202200a0b9cf4fd86ba57243212d341e - commit 1 of 48                                                                                                                                     29%
EOF

test_case main-maxwidths-5 \
	--script='
	:set main-view = id:yes,width=5 line-number:yes,interval=5,width=5 date:default,width=5 author:full,maxwidth=5 commit-title:yes,graph,refs,overflow=no
	:refresh
	' \
	<<EOF
ee912     1| 2014- JFons * [master] WIP: Upgrade to 0.4-SNAPSHOT and DCE
a1dcf      | 2014- JFons * Add type parameter for js.Dynamic
296fc      | 2014- JFons * Move classes under org.scalajs.benchmark package scope
b4ad8      | 2014- JFons * Bump Scala.js version to 0.3-SNAPSHOT
4a68c     5| 2014- JFons * Integrate app code into the benchmark infrastructure
e59a9      | 2014- JFons M-. Merge pull request #4 from phaller/patch-1
940ef      | 2014- PHall | * Fix link to Dart benchmark harness
110e0      | 2013- JFons *-' Update links to reflect project name change
894a5      | 2013- JFons * Use Scala.js 0.2-SNAPSHOT
c819b    10| 2013- JFons * Extract the benchmark list variable name; fix push to use scoped variable
5bd6d      | 2013- JFons * Solve the easiest sudoku grid
988c7      | 2013- JFons * Disable phantomjs by default
5d84a      | 2013- JFons * Exclude Sudoku when running all benchmarks
5d806      | 2013- JFons * Fix reference setup to work for node
[main] ee912870202200a0b9cf4fd86ba57243212d341e - commit 1 of 48                                                                                                                                     29%
EOF

test_case main-maxwidths-20 \
	--script='
	:set main-view = id:yes,width=20 line-number:yes,interval=5,width=20 date:default,width=20 author:full,maxwidth=20 commit-title:yes,graph,refs,overflow=no
	:refresh
	' \
	<<EOF
ee912870202200a0b9cf         1| 2014-03-01 17:26 -05 Jonas Fonseca      * [master] WIP: Upgrade to 0.4-SNAPSHOT and DCE
a1dcf1aaa11470978db1          | 2014-03-01 15:59 -05 Jonas Fonseca      * Add type parameter for js.Dynamic
296fc90ba2c47ba3d2b6          | 2014-01-16 22:51 -05 Jonas Fonseca      * Move classes under org.scalajs.benchmark package scope
b4ad81f17b4c3fc33ed5          | 2014-01-16 17:43 -05 Jonas Fonseca      * Bump Scala.js version to 0.3-SNAPSHOT
4a68cf3c338f5724d838         5| 2014-01-16 17:39 -05 Jonas Fonseca      * Integrate app code into the benchmark infrastructure
e59a941c4e7d51cd172e          | 2014-01-16 07:47 -08 Jonas Fonseca      M-. Merge pull request #4 from phaller/patch-1
940efafc379db7c6df99          | 2014-01-16 15:32 +01 Philipp Haller     | * Fix link to Dart benchmark harness
110e090f815f40d649f5          | 2013-12-17 00:02 +01 Jonas Fonseca      *-' Update links to reflect project name change
894a53e03a017642abdc          | 2013-12-03 23:35 -05 Jonas Fonseca      * Use Scala.js 0.2-SNAPSHOT
c819b08eb5b05dde4df5        10| 2013-11-26 23:39 -05 Jonas Fonseca      * Extract the benchmark list variable name; fix push to use scoped variable
5bd6df6603f25ff035f1          | 2013-11-26 23:31 -05 Jonas Fonseca      * Solve the easiest sudoku grid
988c77aad5798f1e087e          | 2013-11-26 23:22 -05 Jonas Fonseca      * Disable phantomjs by default
5d84af022bc87ef13c29          | 2013-11-26 22:55 -05 Jonas Fonseca      * Exclude Sudoku when running all benchmarks
5d80606b72b490e213a0          | 2013-11-26 22:52 -05 Jonas Fonseca      * Fix reference setup to work for node
[main] ee912870202200a0b9cf4fd86ba57243212d341e - commit 1 of 48                                                                                                                                     29%
EOF

### tree-view

test_case tree-widths-default \
	--script='
	:set tree-view = id:yes line-number:yes,interval=5 mode:yes file-size:yes file-name:yes
	:view-tree
	:refresh
	' \
	<<EOF
Directory path /
ee91287    | drwxr-xr-x      common
ee91287    | drwxr-xr-x      deltablue
ee91287    | drwxr-xr-x      project
ee91287   5| drwxr-xr-x      richards
ee91287    | drwxr-xr-x      sudoku
ee91287    | drwxr-xr-x      tracer
887c5fe    | -rw-r--r--   53 .gitignore
8076152    | -rw-r--r-- 1499 LICENSE
940efaf  10| -rw-r--r-- 2609 README.md
ee91287    | -rwxr-xr-x  493 run.sh



[tree] 1a4ced7066ada2b26dcb0044f763a8438cd375df - file 1 of 10                                                                                                                                      100%
EOF

test_case tree-widths-1 \
	--script='
	:set tree-view = id:yes,width=1 line-number:yes,interval=5,width=1 mode:yes,width=1 file-size:yes,width=1 file-name:yes,width=1
	:view-tree
	:refresh
	' \
	<<EOF
Directory path /
e    | d   ~
e    | d   ~
e    | d   ~
e   5| d   ~
e    | d   ~
e    | d   ~
8    | - 5 ~
8    | - 1 ~
9  10| - 2 ~
e    | - 4 ~



[tree] 1a4ced7066ada2b26dcb0044f763a8438cd375df - file 1 of 10                                                                                                                                      100%
EOF

test_case tree-widths-2 \
	--script='
	:set tree-view = id:yes,width=2 line-number:yes,interval=5,width=2 mode:yes,width=2 file-size:yes,width=2 file-name:yes,width=2
	:view-tree
	:refresh
	' \
	<<EOF
Directory path /
ee    | dr    c~
ee    | dr    d~
ee    | dr    p~
ee   5| dr    r~
ee    | dr    s~
ee    | dr    t~
88    | -r 53 .~
80    | -r 14 L~
94  10| -r 26 R~
ee    | -r 49 r~



[tree] 1a4ced7066ada2b26dcb0044f763a8438cd375df - file 1 of 10                                                                                                                                      100%
EOF

test_case tree-widths-5 \
	--script='
	:set tree-view = id:yes,width=5 line-number:yes,interval=5,width=5 mode:yes,width=5 file-size:yes,width=5 file-name:yes,width=5
	:view-tree
	:refresh
	' \
	<<EOF
Directory path /
ee912      | drwxr       comm~
ee912      | drwxr       delt~
ee912      | drwxr       proj~
ee912     5| drwxr       rich~
ee912      | drwxr       sudo~
ee912      | drwxr       trac~
887c5      | -rw-r    53 .git~
80761      | -rw-r  1499 LICE~
940ef    10| -rw-r  2609 READ~
ee912      | -rwxr   493 run.~



[tree] 1a4ced7066ada2b26dcb0044f763a8438cd375df - file 1 of 10                                                                                                                                      100%
EOF

test_case tree-widths-20 \
	--script='
	:set tree-view = id:yes,width=20 line-number:yes,interval=5,width=20 mode:yes,width=20 file-size:yes,width=20 file-name:yes,width=20
	:view-tree
	:refresh
	' \
	<<EOF
Directory path /
ee912870202200a0b9cf          | drwxr-xr-x                                common
ee912870202200a0b9cf          | drwxr-xr-x                                deltablue
ee912870202200a0b9cf          | drwxr-xr-x                                project
ee912870202200a0b9cf         5| drwxr-xr-x                                richards
ee912870202200a0b9cf          | drwxr-xr-x                                sudoku
ee912870202200a0b9cf          | drwxr-xr-x                                tracer
887c5fec9cab1952ce65          | -rw-r--r--                             53 .gitignore
807615265c6e84fa4f06          | -rw-r--r--                           1499 LICENSE
940efafc379db7c6df99        10| -rw-r--r--                           2609 README.md
ee912870202200a0b9cf          | -rwxr-xr-x                            493 run.sh



[tree] 1a4ced7066ada2b26dcb0044f763a8438cd375df - file 1 of 10                                                                                                                                      100%
EOF

### refs-vew

test_case refs-widths-default \
	--script='
	:set refs-view = id:yes ref:yes author:yes commit-title
	:view-refs
	:refresh
	' \
	<<EOF
        All references
ee91287 master         Jonas Fonseca WIP: Upgrade to 0.4-SNAPSHOT and DCE












[refs] All references                                                                                                                                                                               100%
EOF

test_case refs-widths-1 \
	--script='
	:set refs-view = id:yes,width=1 ref:yes,width=1 author:yes,width=1 commit-title
	:view-refs
	:refresh
	' \
	<<EOF
  A
e m J WIP: Upgrade to 0.4-SNAPSHOT and DCE












[refs] All references                                                                                                                                                                               100%
EOF

test_case refs-widths-2 \
	--script='
	:set refs-view = id:yes,width=2 ref:yes,width=2 author:yes,width=2 commit-title
	:view-refs
	:refresh
	' \
	<<EOF
   Al
ee ma JF WIP: Upgrade to 0.4-SNAPSHOT and DCE












[refs] All references                                                                                                                                                                               100%
EOF

test_case refs-widths-5 \
	--script='
	:set refs-view = id:yes,width=5 ref:yes,width=5 author:yes,width=5 commit-title
	:view-refs
	:refresh
	' \
	<<EOF
      All r
ee912 maste JFons WIP: Upgrade to 0.4-SNAPSHOT and DCE












[refs] All references                                                                                                                                                                               100%
EOF

test_case refs-widths-20 \
	--script='
	:set refs-view = id:yes,width=20 ref:yes,width=20 author:yes,width=20 commit-title
	:view-refs
	:refresh
	' \
	<<EOF
                     All references
ee912870202200a0b9cf master               Jonas Fonseca        WIP: Upgrade to 0.4-SNAPSHOT and DCE












[refs] All references                                                                                                                                                                               100%
EOF

test_case refs-maxwidths-5 \
	--script='
	:set refs-view = id:yes,width=5 ref:yes,maxwidth=5 author:yes,maxwidth=5 commit-title
	:view-refs
	:refresh
	' \
	<<EOF
      All r
ee912 maste JFons WIP: Upgrade to 0.4-SNAPSHOT and DCE












[refs] All references                                                                                                                                                                               100%
EOF

test_case refs-maxwidths-20 \
	--script='
	:set refs-view = id:yes,width=20 ref:yes,maxwidth=20 author:yes,maxwidth=20 commit-title
	:view-refs
	:refresh
	' \
	<<EOF
                     All references
ee912870202200a0b9cf master Jonas Fonseca WIP: Upgrade to 0.4-SNAPSHOT and DCE












[refs] All references                                                                                                                                                                               100%
EOF

### grep-view

test_case grep-widths-default \
	--script='
	:set grep-view = file-name:yes,width=20 line-number:yes,interval=1 text
	:g
	source<Enter>
	:refresh
	' \
	<<EOF
LICENSE                5| Redistribution and use in source and binary forms, with or without modification,
LICENSE                8|     * Redistributions of source code must retain the above copyright notice,
README.md             27| time you save a source file, a compilation of the project is triggered.
common/reference/de~ 633|  * Extract a plan for resatisfaction starting from the given source
common/reference/de~ 649|  * Assume: sources are all satisfied.
common/reference/de~ 651| Planner.prototype.makePlan = function (sources) {
common/reference/de~ 654|   var todo = sources;
common/reference/de~ 671|   var sources = new OrderedCollection();
common/reference/de~ 676|       sources.add(c);
common/reference/de~ 678|   return this.makePlan(sources);
common/reference/ri~   2| // Redistribution and use in source and binary forms, with or without
common/reference/ri~   6| //     * Redistributions of source code must retain the above copyright
common/reference/tr~  45| Object.extend = function(destination, source) {
common/reference/tr~  46|   for (var property in source) {
[grep] LICENSE - line 1 of 24                                                                                                                                                                        58%
EOF

test_case grep-widths-1 \
	--script='
	:set grep-view = file-name:yes,width=1 line-number:yes,interval=1,width=1 text
	:g
	source<Enter>
	:refresh
	' \
	<<EOF
~    5| Redistribution and use in source and binary forms, with or without modification,
~    8|     * Redistributions of source code must retain the above copyright notice,
~   27| time you save a source file, a compilation of the project is triggered.
~  633|  * Extract a plan for resatisfaction starting from the given source
~  649|  * Assume: sources are all satisfied.
~  651| Planner.prototype.makePlan = function (sources) {
~  654|   var todo = sources;
~  671|   var sources = new OrderedCollection();
~  676|       sources.add(c);
~  678|   return this.makePlan(sources);
~    2| // Redistribution and use in source and binary forms, with or without
~    6| //     * Redistributions of source code must retain the above copyright
~   45| Object.extend = function(destination, source) {
~   46|   for (var property in source) {
[grep] LICENSE - line 1 of 24                                                                                                                                                                        58%
EOF

test_case grep-widths-2 \
	--script='
	:set grep-view = file-name:yes,width=2 line-number:yes,interval=1,width=2 text
	:g
	source<Enter>
	:refresh
	' \
	<<EOF
L~     5| Redistribution and use in source and binary forms, with or without modification,
L~     8|     * Redistributions of source code must retain the above copyright notice,
R~    27| time you save a source file, a compilation of the project is triggered.
c~   633|  * Extract a plan for resatisfaction starting from the given source
c~   649|  * Assume: sources are all satisfied.
c~   651| Planner.prototype.makePlan = function (sources) {
c~   654|   var todo = sources;
c~   671|   var sources = new OrderedCollection();
c~   676|       sources.add(c);
c~   678|   return this.makePlan(sources);
c~     2| // Redistribution and use in source and binary forms, with or without
c~     6| //     * Redistributions of source code must retain the above copyright
c~    45| Object.extend = function(destination, source) {
c~    46|   for (var property in source) {
[grep] LICENSE - line 1 of 24                                                                                                                                                                        58%
EOF

test_case grep-widths-5 \
	--script='
	:set grep-view = file-name:yes,width=5 line-number:yes,interval=1,width=5 text
	:g
	source<Enter>
	:refresh
	' \
	<<EOF
LICE~     5| Redistribution and use in source and binary forms, with or without modification,
LICE~     8|     * Redistributions of source code must retain the above copyright notice,
READ~    27| time you save a source file, a compilation of the project is triggered.
comm~   633|  * Extract a plan for resatisfaction starting from the given source
comm~   649|  * Assume: sources are all satisfied.
comm~   651| Planner.prototype.makePlan = function (sources) {
comm~   654|   var todo = sources;
comm~   671|   var sources = new OrderedCollection();
comm~   676|       sources.add(c);
comm~   678|   return this.makePlan(sources);
comm~     2| // Redistribution and use in source and binary forms, with or without
comm~     6| //     * Redistributions of source code must retain the above copyright
comm~    45| Object.extend = function(destination, source) {
comm~    46|   for (var property in source) {
[grep] LICENSE - line 1 of 24                                                                                                                                                                        58%
EOF

test_case grep-widths-20 \
	--script='
	:set grep-view = file-name:yes,width=20 line-number:yes,interval=1,width=20 text
	:g
	source<Enter>
	:refresh
	' \
	<<EOF
LICENSE                      5| Redistribution and use in source and binary forms, with or without modification,
LICENSE                      8|     * Redistributions of source code must retain the above copyright notice,
README.md                   27| time you save a source file, a compilation of the project is triggered.
common/reference/de~       633|  * Extract a plan for resatisfaction starting from the given source
common/reference/de~       649|  * Assume: sources are all satisfied.
common/reference/de~       651| Planner.prototype.makePlan = function (sources) {
common/reference/de~       654|   var todo = sources;
common/reference/de~       671|   var sources = new OrderedCollection();
common/reference/de~       676|       sources.add(c);
common/reference/de~       678|   return this.makePlan(sources);
common/reference/ri~         2| // Redistribution and use in source and binary forms, with or without
common/reference/ri~         6| //     * Redistributions of source code must retain the above copyright
common/reference/tr~        45| Object.extend = function(destination, source) {
common/reference/tr~        46|   for (var property in source) {
[grep] LICENSE - line 1 of 24                                                                                                                                                                        58%
EOF

test_case grep-maxwidths-5 \
	--script='
	:set grep-view = file-name:yes,maxwidth=5 line-number:yes,interval=1,width=5 text
	:g
	source<Enter>
	:refresh
	' \
	<<EOF
LICE~     5| Redistribution and use in source and binary forms, with or without modification,
LICE~     8|     * Redistributions of source code must retain the above copyright notice,
READ~    27| time you save a source file, a compilation of the project is triggered.
comm~   633|  * Extract a plan for resatisfaction starting from the given source
comm~   649|  * Assume: sources are all satisfied.
comm~   651| Planner.prototype.makePlan = function (sources) {
comm~   654|   var todo = sources;
comm~   671|   var sources = new OrderedCollection();
comm~   676|       sources.add(c);
comm~   678|   return this.makePlan(sources);
comm~     2| // Redistribution and use in source and binary forms, with or without
comm~     6| //     * Redistributions of source code must retain the above copyright
comm~    45| Object.extend = function(destination, source) {
comm~    46|   for (var property in source) {
[grep] LICENSE - line 1 of 24                                                                                                                                                                        58%
EOF

test_case grep-maxwidths-20 \
	--script='
	:set grep-view = file-name:yes,maxwidth=20 line-number:yes,interval=1,width=20 text
	:g
	source<Enter>
	:refresh
	' \
	<<EOF
LICENSE                      5| Redistribution and use in source and binary forms, with or without modification,
LICENSE                      8|     * Redistributions of source code must retain the above copyright notice,
README.md                   27| time you save a source file, a compilation of the project is triggered.
common/reference/de~       633|  * Extract a plan for resatisfaction starting from the given source
common/reference/de~       649|  * Assume: sources are all satisfied.
common/reference/de~       651| Planner.prototype.makePlan = function (sources) {
common/reference/de~       654|   var todo = sources;
common/reference/de~       671|   var sources = new OrderedCollection();
common/reference/de~       676|       sources.add(c);
common/reference/de~       678|   return this.makePlan(sources);
common/reference/ri~         2| // Redistribution and use in source and binary forms, with or without
common/reference/ri~         6| //     * Redistributions of source code must retain the above copyright
common/reference/tr~        45| Object.extend = function(destination, source) {
common/reference/tr~        46|   for (var property in source) {
[grep] LICENSE - line 1 of 24                                                                                                                                                                        58%
EOF


run_test_cases