Commit 6345e3c
committed
test(e2e): 195 用诊断而不是 --strict 判定
`--strict` 会把**所有**降级提升为错误,包括与本测试无关的那些 —— Windows 上
clang 报「this toolchain and platform combination emits no GNU depfile」,于是
195 在 Windows 上因为一件它并不关心的事而红。
本测试要断言的是「没有任何谓词匹配的平台上,请求该 feature 不是未知 feature
错误」,那就直接断言那条诊断不出现。1 parent 4838952 commit 6345e3c
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
133 | 137 | | |
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
137 | 146 | | |
138 | 147 | | |
0 commit comments