Skip to content

Commit

Permalink
Use pluginDef
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Apr 3, 2018
1 parent 7eac74a commit 20c7553
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -53,7 +53,7 @@ public void testIfWithOneTrueStatement() throws InvalidIRException {
Graph expected = new Graph();
IfVertex expectedIf = DSL.gIf(randMeta(), ifExpression);
expected.addVertex(expectedIf);
PluginVertex expectedT = DSL.gPlugin(randMeta(), testPluginDefinition());
PluginVertex expectedT = DSL.gPlugin(randMeta(), pluginDef);
expected.chainVertices(true, expectedIf, expectedT);

assertSyntaxEquals(expected, ifStatementGraph);
Expand Down

0 comments on commit 20c7553

Please sign in to comment.