Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test suite failure with 0.46.2 #1429

Open
domenkozar opened this issue Mar 13, 2023 · 0 comments
Open

test suite failure with 0.46.2 #1429

domenkozar opened this issue Mar 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@domenkozar
Copy link

%%% els_diagnostics_SUITE ==> bound_var_in_pattern: FAILED
%%% els_diagnostics_SUITE ==> 
Failure/Error: ?assertEqual([#{message => <<66,111,117,110,100,32,118,97,114,105,97,98,108,101,32,105,110,32,112,97,116,116,101,114,110,58,32,86,97,114,49>>,range => {{5,2},{5,6}}},#{message => <<66,111,117,110,100,32,118,97,114,105,97,98,108,101,32,105,110,32,112,97,116,116,101,114,110,58,32,86,97,114,50>>,range => {{9,9},{9,13}}},#{message => <<66,111,117,110,100,32,118,97,114,105,97,98,108,101,32,105,110,32,112,97,116,116,101,114,110,58,32,86,97,114,51>>,range => {{15,10},{15,14}}},#{message => <<66,111,117,110,100,32,118,97,114,105,97,98,108,101,32,105,110,32,112,97,116,116,101,114,110,58,32,86,97,114,52>>,range => {{17,8},{17,12}}},#{message => <<66,111,117,110,100,32,118,97,114,105,97,98,108,101,32,105,110,32,112,97,116,116,101,114,110,58,32,86,97,114,53>>,range => {{23,6},{23,10}}}], lists : sort ( Simplified ))
  expected: [#{message => <<"Bound variable in pattern: Var1">>,
               range => {{5,2},{5,6}}},
             #{message => <<"Bound variable in pattern: Var2">>,
               range => {{9,9},{9,13}}},
             #{message => <<"Bound variable in pattern: Var3">>,
               range => {{15,10},{15,14}}},
             #{message => <<"Bound variable in pattern: Var4">>,
               range => {{17,8},{17,12}}},
             #{message => <<"Bound variable in pattern: Var5">>,
               range => {{23,6},{23,10}}}]
       got: [#{message => <<"Bound variable in pattern: F">>,
               range => {{29,6},{29,7}}},
             #{message => <<"Bound variable in pattern: New">>,
               range => {{28,6},{28,9}}},
             #{message => <<"Bound variable in pattern: Var1">>,
               range => {{5,2},{5,6}}},
             #{message => <<"Bound variable in pattern: Var2">>,
               range => {{9,9},{9,13}}},
             #{message => <<"Bound variable in pattern: Var3">>,
               range => {{15,10},{15,14}}},
             #{message => <<"Bound variable in pattern: Var4">>,
               range => {{17,8},{17,12}}},
             #{message => <<"Bound variable in pattern: Var5">>,
               range => {{23,6},{23,10}}}]
      line: 99
   comment: [#{message => <<"Bound variable in pattern: Var1">>,
               range =>
                   #{'end' => #{character => 6,line => 5},
                     start => #{character => 2,line => 5}},
               severity => 4,source => <<"BoundVarInPattern">>},
             #{message => <<"Bound variable in pattern: Var2">>,
               range =>
                   #{'end' => #{character => 13,line => 9},
                     start => #{character => 9,line => 9}},
               severity => 4,source => <<"BoundVarInPattern">>},
             #{message => <<"Bound variable in pattern: Var4">>,
               range =>
                   #{'end' => #{character => 12,line => 17},
                     start => #{character => 8,line => 17}},
               severity => 4,source => <<"BoundVarInPattern">>},
             #{message => <<"Bound variable in pattern: Var3">>,
               range =>
                   #{'end' => #{character => 14,line => 15},
                     start => #{character => 10,line => 15}},
               severity => 4,source => <<"BoundVarInPattern">>},
             #{message => <<"Bound variable in pattern: Var5">>,
               range =>
                   #{'end' => #{character => 10,line => 23},
                     start => #{character => 6,line => 23}},
               severity => 4,source => <<"BoundVarInPattern">>},
             #{message => <<"Bound variable in pattern: F">>,
               range =>
                   #{'end' => #{character => 7,line => 29},
                     start => #{character => 6,line => 29}},
               severity => 4,source => <<"BoundVarInPattern">>},
             #{message => <<"Bound variable in pattern: New">>,
               range =>
                   #{'end' => #{character => 9,line => 28},
                     start => #{character => 6,line => 28}},
               severity => 4,source => <<"BoundVarInPattern">>}]
@domenkozar domenkozar added the bug Something isn't working label Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant