Skip to content

Commit d0ece80

Browse files
committed
change fallback version in local tests
1 parent d180b11 commit d0ece80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clang-installer/src/version.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ mod tests {
326326
/// If successful, clang-tidy will be installed globally, which may be undesirable.
327327
#[tokio::test]
328328
async fn eval_version() {
329-
let clang_version = option_env!("CLANG_VERSION").unwrap_or("12.0.1");
329+
let clang_version = option_env!("CLANG_VERSION").unwrap_or("16");
330330
for tool in [ClangTool::ClangFormat, ClangTool::ClangTidy] {
331331
let version_req = VersionReq::parse(clang_version).unwrap();
332332
println!("Installing {tool} with version requirement: {version_req}");

0 commit comments

Comments
 (0)