File: wrap-lines-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 (54 lines) | stat: -rwxr-xr-x 1,078 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
#!/bin/sh

. libtest.sh
. libgit.sh

export COLUMNS=40

steps '
	:view-tree
	:/README.md
	:view-blob
	:save-display wrapped.screen
'

tigrc <<EOF
set line-graphics = utf-8
set wrap-lines = true
EOF

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

test_tig

assert_equals 'wrapped.screen' <<EOF
# Scala.js Benchmarks

This is a port of the Dart
[benchmark harness](https://github.com/d
+art-lang/benchmark_harness) to
[Scala.js](https://github.com/scala-js/s
+cala-js).

You can see the benchmarks in action
[here](http://jonas.github.io/scala-js-b
+enchmarks/).

All derivative work is the copyright of
+their respective authors and
distributed under their original license
+. All original work unless otherwise
stated is distributed under the [same li
+cense as
Scala.js](https://github.com/jonas/scala
+-js-benchmarks/LICENSE).

## Get started

To run the benchmarks, first install the
+ Scala.js compiler by following the
instructions in the [Scala.js README](ht
+tps://github.com/lampepfl/scala-js).

[blob] README.md - line 1 of 62      28%
EOF