We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d89f39b commit 172373cCopy full SHA for 172373c
cpp-linter/src/run.rs
@@ -221,4 +221,20 @@ mod test {
221
.await;
222
assert!(result.is_err());
223
}
224
+
225
+ // just for completion. this test is not practical use case
226
+ #[tokio::test]
227
+ async fn no_analysis() {
228
+ env::remove_var("GITHUB_OUTPUT"); // avoid writing to GH_OUT in parallel-running tests
229
+ let result = run_main(vec![
230
+ "cpp-linter".to_string(),
231
+ "-l".to_string(),
232
+ "false".to_string(),
233
+ "--style".to_string(),
234
+ String::new(),
235
+ "--tidy-checks=-*".to_string(),
236
+ ])
237
+ .await;
238
+ assert!(result.is_ok());
239
+ }
240
0 commit comments