@windyroad/architect 0.17.0 → 0.17.1-preview.721
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,37 +20,37 @@ teardown() {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
@test "detect: scope text mentions problem files exemption (P029)" {
|
|
23
|
-
run bash "$HOOK"
|
|
23
|
+
run bash "$HOOK" </dev/null
|
|
24
24
|
[ "$status" -eq 0 ]
|
|
25
25
|
[[ "$output" == *"docs/problems/"* ]] || [[ "$output" == *"problem tickets"* ]]
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@test "detect: scope text mentions BRIEFING.md exemption (P029)" {
|
|
29
|
-
run bash "$HOOK"
|
|
29
|
+
run bash "$HOOK" </dev/null
|
|
30
30
|
[ "$status" -eq 0 ]
|
|
31
31
|
[[ "$output" == *"BRIEFING"* ]]
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
@test "detect: scope text mentions docs/briefing/ exemption (P100)" {
|
|
35
|
-
run bash "$HOOK"
|
|
35
|
+
run bash "$HOOK" </dev/null
|
|
36
36
|
[ "$status" -eq 0 ]
|
|
37
37
|
[[ "$output" == *"docs/briefing/"* ]]
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
@test "detect: scope text mentions RISK-POLICY exemption (P029)" {
|
|
41
|
-
run bash "$HOOK"
|
|
41
|
+
run bash "$HOOK" </dev/null
|
|
42
42
|
[ "$status" -eq 0 ]
|
|
43
43
|
[[ "$output" == *"RISK-POLICY"* ]]
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
@test "detect: scope text mentions changeset exemption (P029)" {
|
|
47
|
-
run bash "$HOOK"
|
|
47
|
+
run bash "$HOOK" </dev/null
|
|
48
48
|
[ "$status" -eq 0 ]
|
|
49
49
|
[[ "$output" == *"changeset"* ]]
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
@test "detect: scope text mentions memory files exemption (P029)" {
|
|
53
|
-
run bash "$HOOK"
|
|
53
|
+
run bash "$HOOK" </dev/null
|
|
54
54
|
[ "$status" -eq 0 ]
|
|
55
55
|
[[ "$output" == *"memory"* ]] || [[ "$output" == *"MEMORY"* ]]
|
|
56
56
|
}
|