File tree Expand file tree Collapse file tree 2 files changed +2
-19
lines changed
Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ defmodule ExImageInfoTest.Images.ISOBMFFTest do
242242 end
243243
244244 defp fetch_binary ( url , tmp_dir , debug? \\ false ) do
245- Enum . all? ( [ :inets , :ssl ] , & ( :ok = Application . ensure_started ( & 1 ) ) )
245+ true = Enum . all? ( [ :inets , :ssl ] , & Application . ensure_started / 1 )
246246
247247 filename = Path . basename ( url )
248248 tmp_file = Path . join ( [ tmp_dir , filename ] )
Original file line number Diff line number Diff line change @@ -440,21 +440,4 @@ defmodule ExImageInfoTest.Mocks.ISOBMFFTest do
440440 assert info ( image_truncated ) == nil
441441 end
442442 end
443- end
444-
445- defmodule HexConverter do
446- def convert ( hex_string ) do
447- hex_string
448- |> String . split ( " " , trim: true )
449- |> Enum . chunk_every ( 4 )
450- |> Enum . map ( fn chunk ->
451- chunk
452- |> Enum . join ( "" )
453- |> then ( & ( "0x" <> & 1 <> "::32" ) )
454- end )
455- |> Enum . chunk_every ( 4 )
456- |> Enum . map ( & Enum . join ( & 1 , ", " ) )
457- |> Enum . join ( ",\n " )
458- |> then ( & "<<\n #{ & 1 } \n >>" )
459- end
460- end
443+ end
You can’t perform that action at this time.
0 commit comments