Skip to content

Commit

Permalink
Fix a doctest (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
sostock committed Oct 28, 2020
1 parent b44c335 commit 47d131b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/src/newunits.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ julia> u"myMeter"
ERROR: LoadError: ArgumentError: Symbol myMeter could not be found in unit modules Module[Unitful]
[...]
julia> Unitful.register(MyUnits)
2-element Array{Module,1}:
Unitful
MyUnits
julia> Unitful.register(MyUnits);
julia> u"myMeter"
m
Expand Down

0 comments on commit 47d131b

Please sign in to comment.