Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshanlon committed Oct 28, 2023
1 parent 38f4496 commit f5b63bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/netlist/tests/VariableSelectorsTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ endmodule
CHECK(getBitRange(netlist, "foo[a+:1]") == ConstantRange(0, 7));
CHECK(getBitRange(netlist, "foo[a-:2]") == ConstantRange(0, 7));
CHECK(getBitRange(netlist, "foo[1][a]") == ConstantRange(4, 5));
CHECK(getBitRange(netlist, "foo[1][a+:1]") == ConstantRange(2, 3));
CHECK(getBitRange(netlist, "foo[1][a-:2]") == ConstantRange(2, 3));
CHECK(getBitRange(netlist, "foo[1][a+:1]") == ConstantRange(4, 5));
CHECK(getBitRange(netlist, "foo[1][a-:2]") == ConstantRange(4, 5));
}

//===---------------------------------------------------------------------===//
Expand Down

0 comments on commit f5b63bf

Please sign in to comment.