diff --git a/test/symbols.jl b/test/symbols.jl index 72743bd..bc39c7e 100644 --- a/test/symbols.jl +++ b/test/symbols.jl @@ -14,3 +14,7 @@ using Test @test ADTypes.Auto(:Tapir) isa AutoTapir @test ADTypes.Auto(:Tracker) isa AutoTracker @test ADTypes.Auto(:Zygote) isa AutoZygote + +@test_throws MethodError ADTypes.Auto(:ThisPackageDoesNotExist) +@test_throws UndefKeywordError ADTypes.Auto(:ChainRules) +@test_throws UndefKeywordError ADTypes.Auto(:FiniteDifferences)