Skip to content

Commit a86b7a8

Browse files
committed
update tests/test_center.sh
1 parent dfc46bc commit a86b7a8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/test_center.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,13 @@ expected=" <this is a test>"
3131

3232
echo "testing args:"
3333
#run_output "$expected" ./center.py " <this is a test> "
34-
hr
3534

3635
echo "testing stdin:"
3736
run_output "$expected" ./center.py <<< "<this is a test>"
38-
hr
3937

4038
expected=" <this is a test>"
4139
echo "testing multi-args:"
4240
run_output "$expected" ./center.py "<this" is a "test> "
43-
hr
4441

4542

4643
###########
@@ -49,21 +46,17 @@ expected="# this is a test"
4946

5047
echo "testing args with # prefix:"
5148
run_output "$expected" ./center.py " # this is a test "
52-
hr
5349

5450
echo "testing stdin with # prefix:"
5551
run_output "$expected" ./center.py <<< " # this is a test"
56-
hr
5752

5853
expected="// this is a test"
5954

6055
echo "testing args with // prefix:"
6156
run_output "$expected" ./center.py " // this is a test "
62-
hr
6357

6458
echo "testing stdin with // prefix:"
6559
run_output "$expected" ./center.py <<< " // this is a test"
66-
hr
6760

6861
###########
6962
# comment handling disabled
@@ -87,7 +80,6 @@ hr
8780

8881
echo "testing stdin with # prefix with comment handling disabled:"
8982
run_output "$expected" ./center.py -n <<< " # this is a test"
90-
hr
9183

9284
expected=" // this is a test"
9385

@@ -109,7 +101,6 @@ hr
109101

110102
echo "testing stdin with // prefix:"
111103
run_output "$expected" ./center.py -n <<< " // this is a test"
112-
hr
113104

114105
#######################
115106
# space in middle tests
@@ -134,7 +125,6 @@ hr
134125

135126
echo "testing spacing with stdin:"
136127
run_output "$expected" ./center.py -s <<< " <this is a test> "
137-
hr
138128

139129
echo
140130
echo "Completed $run_count tests"

0 commit comments

Comments
 (0)