File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 18
18
- run : rebar3 compile
19
19
- run : rebar3 xref
20
20
- run : rebar3 dialyzer
21
+ if : matrix.otp != 26 # Some re types are not exported in OTP 26
21
22
- run : rebar3 eunit -v
22
23
- name : Send to Coveralls
23
24
if : matrix.otp == 26
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ binary() ->
243
243
binary (Regexp ) ->
244
244
binary (Regexp , []).
245
245
246
- -spec binary (iodata (), [ re :compile_option ()] ) -> validator (binary ()).
246
+ -spec binary (iodata (), re :compile_options () ) -> validator (binary ()).
247
247
binary (Regexp , Opts ) when is_list (Regexp ) orelse is_binary (Regexp ) ->
248
248
fun (Val ) ->
249
249
Bin = to_binary (Val ),
@@ -265,7 +265,7 @@ string() ->
265
265
string (Regexp ) ->
266
266
string (Regexp , []).
267
267
268
- -spec string (iodata (), [ re :compile_option ()] ) -> validator (string ()).
268
+ -spec string (iodata (), re :compile_options () ) -> validator (string ()).
269
269
string (Regexp , Opts ) when is_list (Regexp ) orelse is_binary (Regexp ) ->
270
270
fun (Val ) ->
271
271
Str = to_string (Val ),
@@ -451,7 +451,7 @@ timeout(Unit, Inf) ->
451
451
re () ->
452
452
re ([]).
453
453
454
- -spec re ([ re :compile_option ()] ) -> validator (re :mp ()).
454
+ -spec re (re :compile_options () ) -> validator (re :mp ()).
455
455
re (Opts ) ->
456
456
fun (Val ) ->
457
457
Bin = to_binary (Val ),
@@ -465,7 +465,7 @@ re(Opts) ->
465
465
glob () ->
466
466
glob ([]).
467
467
468
- -spec glob ([ re :compile_option ()] ) -> validator (re :mp ()).
468
+ -spec glob (re :compile_options () ) -> validator (re :mp ()).
469
469
glob (Opts ) ->
470
470
fun (Val ) ->
471
471
S = to_string (Val ),
You can’t perform that action at this time.
0 commit comments