From 8059b3c8bfcb64cc2a3bb71c59b8d82b7907bb73 Mon Sep 17 00:00:00 2001 From: Sukera Date: Sun, 8 Dec 2024 07:44:31 +0100 Subject: [PATCH] Add new MethodError text to doctest --- src/RequiredInterfaces.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/RequiredInterfaces.jl b/src/RequiredInterfaces.jl index 8ae76c8..88dacc3 100644 --- a/src/RequiredInterfaces.jl +++ b/src/RequiredInterfaces.jl @@ -261,6 +261,8 @@ Stacktrace: julia> bar(1, Baz()) ERROR: MethodError: no method matching bar(::Int64, ::Baz) +The function `bar` exists, but no method is defined for this combination of argument types. + Stacktrace: [1] top-level scope @ none:1