File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 112
112
adoc=" $( builtin_to_adoc " $builtin " ) " &&
113
113
preq=" $( echo BUILTIN_ADOC_$builtin | tr ' [:lower:]-' ' [:upper:]_' ) " &&
114
114
115
- # if and only if *.adoc is missing, builtin shall be listed in t0450/adoc-missing
116
- result=success
115
+ # If and only if *.adoc is missing, builtin shall be listed in t0450/adoc-missing.
117
116
if grep -q " ^$builtin $" " $TEST_DIRECTORY " /t0450/adoc-missing
118
117
then
118
+ test_expect_success " $builtin appropriately marked as not having .adoc" '
119
+ ! test -f "$adoc"
120
+ '
121
+ else
119
122
test_set_prereq " $preq "
120
- result=failure
121
- fi &&
122
- test_expect_ $result " $builtin appropriately marked as having missing . adoc" '
123
- test -f "$adoc"
124
- '
123
+
124
+ test_expect_success " $builtin appropriately marked as having .adoc " '
125
+ test -f "$ adoc"
126
+ '
127
+ fi
125
128
126
129
# *.adoc output assertions
127
130
test_expect_success " $preq " " $builtin *.adoc SYNOPSIS has dashed labels" '
Original file line number Diff line number Diff line change
1
+ checkout--worker
2
+ merge-ours
3
+ merge-recursive
4
+ merge-recursive-ours
5
+ merge-recursive-theirs
6
+ merge-subtree
7
+ pickaxe
8
+ submodule--helper
9
+ upload-archive--writer
You can’t perform that action at this time.
0 commit comments