소스 검색

Make test work on all OTPs

pull/1460/head
Fred Hebert 8 년 전
부모
커밋
34546941ae
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. +4
    -1
      test/rebar_compile_SUITE.erl

+ 4
- 1
test/rebar_compile_SUITE.erl 파일 보기

@ -1671,7 +1671,10 @@ regex_filter_skip(Config) ->
{ok, [{file, Expected}]}),
throw(should_not_be_found)
catch
error:{assert,_} -> % the file was not found, as desired!
%% the file was not found, as desired!
error:{assertion_failed,_} -> %% OTP =< 17
ok;
error:{assert,_} -> %% OTP >= 18
ok
end.

불러오는 중...
취소
저장