Skip to content

Commit

Permalink
Fix Github CI by marking failing test to require eqwalizer
Browse files Browse the repository at this point in the history
Summary: We have another failure with OTP25, mark the offending test as to be skipped if eqwalizer is not available.

Reviewed By: VLanvin

Differential Revision: D62240223

fbshipit-source-id: be7c150cb99855c16cc3736c76a15a90abd55286
  • Loading branch information
alanz authored and facebook-github-bot committed Sep 5, 2024
1 parent bb511c0 commit ad4451f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/elp/src/bin/glean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1904,7 +1904,8 @@ mod tests {

#[test]
fn declaration_v2_test() {
let spec = r#"
if otp_supported_by_eqwalizer() {
let spec = r#"
//- /app_glean/src/glean_module5.erl app:app_glean
-module(glean_module5).
-export([foo/0, doc_foo/1, depr_foo/1]).
Expand Down Expand Up @@ -1939,7 +1940,8 @@ mod tests {
main(A) -> A.
%% ^^^^^^^^^^^^^ func/main/1/not_deprecated/not_exported
"#;
decl_v2_check(&spec);
decl_v2_check(&spec);
}
}

#[test]
Expand Down

0 comments on commit ad4451f

Please sign in to comment.