aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAlbert Magyar2017-11-16 18:32:32 -0800
committerGitHub2017-11-16 18:32:32 -0800
commit50a3641dd9700c1899198f13bc1362db78e25b79 (patch)
tree38ba90d612b5cd7ef99d0f27f85fd370852c569e /src/test
parent4429e2112aa958acab2ab43b0bf1d4c43becb50e (diff)
Move digraph exceptions out of digraph class (#688)
Diffstat (limited to 'src/test')
-rw-r--r--src/test/scala/firrtlTests/graph/DiGraphTests.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/firrtlTests/graph/DiGraphTests.scala b/src/test/scala/firrtlTests/graph/DiGraphTests.scala
index da268e4f..84122f83 100644
--- a/src/test/scala/firrtlTests/graph/DiGraphTests.scala
+++ b/src/test/scala/firrtlTests/graph/DiGraphTests.scala
@@ -37,11 +37,11 @@ class DiGraphTests extends FirrtlFlatSpec {
acyclicGraph.path("a","e") should not be empty
- an [acyclicGraph.PathNotFoundException] should be thrownBy acyclicGraph.path("e","a")
+ an [PathNotFoundException] should be thrownBy acyclicGraph.path("e","a")
acyclicGraph.linearize.head should equal ("a")
- a [cyclicGraph.CyclicException] should be thrownBy cyclicGraph.linearize
+ a [CyclicException] should be thrownBy cyclicGraph.linearize
acyclicGraph.reverse.getEdgeMap should equal (reversedAcyclicGraph.getEdgeMap)