Skip to content

Commit ea1f72d

Browse files
committed
Code.fetch_docs/1 cannot handle bytecode directly
1 parent 5f419ea commit ea1f72d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/protobuf/protoc/cli_integration_test.exs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
defmodule Protobuf.Protoc.CLIIntegrationTest do
22
use ExUnit.Case, async: true
33

4-
# TODO: Remove when we depend on Elixir 1.13+.
5-
import Protobuf.TestHelpers, only: [fetch_docs_from_bytecode: 1], warn: false
6-
74
alias Protobuf.TestHelpers
85

96
@moduletag :tmp_dir
@@ -104,7 +101,7 @@ defmodule Protobuf.Protoc.CLIIntegrationTest do
104101
path
105102
|> Code.compile_file()
106103
|> Enum.map(fn {mod, bytecode} ->
107-
{mod, fetch_docs_from_bytecode(bytecode)}
104+
{mod, TestHelpers.fetch_docs_from_bytecode(bytecode)}
108105
end)
109106

110107
on_exit(fn ->

0 commit comments

Comments
 (0)