From 469a04541449368306d3fcd6391a7fda7b4621b6 Mon Sep 17 00:00:00 2001 From: MicheleCeresoli Date: Thu, 23 Nov 2023 16:48:48 +0100 Subject: [PATCH] Imported Error --- test/runtests.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index f764894..a82d689 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -3,6 +3,7 @@ using Test using Graphs +import JSMDInterfaces.Errors: NotImplementedError import JSMDInterfaces.Graph as jGraph import SMDGraphs: MappedGraph, MappedDiGraph, MappedNodeGraph @@ -20,7 +21,7 @@ SMDGraphs.get_node_id(n::IntNode) = n.id @testset "SMDGraphs.jl" begin # Check Error Enforcement - @test_throws ErrorException SMDGraphs.get_node_id(FakeNode(7)) + @test_throws NotImplementedError SMDGraphs.get_node_id(FakeNode(7)) # Test MappedGraph Constructor graph = MappedGraph(IntNode)