Skip to content

Commit e42eb40

Browse files
Remove doctests for Code.LoadError
1 parent 81d19c1 commit e42eb40

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/elixir/lib/exception.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2063,8 +2063,8 @@ defmodule Code.LoadError do
20632063
20642064
This is typically raised by functions in the `Code` module, for example:
20652065
2066-
iex> Code.require_file("/missing_file.exs")
2067-
** (Code.LoadError) could not load /missing_file.exs. Reason: enoent
2066+
Code.require_file("missing_file.exs")
2067+
** (Code.LoadError) could not load missing_file.exs. Reason: enoent
20682068
20692069
The following fields of this exception are public and can be accessed freely:
20702070

lib/elixir/test/elixir/exception_test.exs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ defmodule ExceptionTest do
3030
doctest TryClauseError
3131
doctest UndefinedFunctionError
3232
doctest FunctionClauseError
33-
doctest Code.LoadError
3433
doctest Protocol.UndefinedError
3534
doctest KeyError
3635
doctest UnicodeConversionError

0 commit comments

Comments
 (0)