Skip to content

Commit d2c63f4

Browse files
gloinetkelman
authored andcommitted
doc: fix outdated output msg in the assert example [av skip]
(cherry picked from commit e10e039) ref #13928
1 parent 18000c7 commit d2c63f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/manual/metaprogramming.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ This macro can be used like this:
545545
julia> @assert 1==1.0
546546

547547
julia> @assert 1==0
548-
ERROR: AssertionError: 1 == 0
548+
ERROR: Assertion failed: 1 == 0
549549

550550
In place of the written syntax, the macro call is expanded at parse time to
551551
its returned result. This is equivalent to writing::

0 commit comments

Comments
 (0)