summaryrefslogtreecommitdiff
path: root/lib/containers/ordered_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/containers/ordered_test.go')
-rw-r--r--lib/containers/ordered_test.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/containers/ordered_test.go b/lib/containers/ordered_test.go
new file mode 100644
index 0000000..4f0b2e6
--- /dev/null
+++ b/lib/containers/ordered_test.go
@@ -0,0 +1,13 @@
+// Copyright (C) 2023 Luke Shumaker <lukeshu@lukeshu.com>
+//
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package containers_test
+
+import (
+ "net/netip"
+
+ "git.lukeshu.com/btrfs-progs-ng/lib/containers"
+)
+
+var _ containers.Ordered[netip.Addr] = netip.Addr{}