Skip to content

Commit d3f6dc9

Browse files
committed
Fix uncovered else path
1 parent b1564a9 commit d3f6dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/SubnetList.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ describe("SubnetList", () => {
114114

115115
it("returns false when removing subnet not present", () => {
116116
const s1 = Subnet.fromCIDR("203.0.113.0/24");
117-
const list = new SubnetList();
117+
const list = new SubnetList([Subnet.fromCIDR("192.0.2.0/25")]);
118118
expect(list.remove(s1)).toBe(false);
119119
});
120120
});

0 commit comments

Comments
 (0)