Simplify intrusive linked list test

master
Andrea Orru 2018-03-10 12:20:29 -08:00
parent 6288ad865c
commit 152b408934
1 changed files with 2 additions and 3 deletions

View File

@ -274,11 +274,10 @@ test "basic linked list test" {
assert (list.len == 2);
}
const link = "link";
const ElementList = IntrusiveLinkedList(Element, link);
const ElementList = IntrusiveLinkedList(Element, "link");
const Element = struct {
value: u32,
link: IntrusiveLinkedList(Element, link).Node,
link: IntrusiveLinkedList(Element, "link").Node,
};
test "basic intrusive linked list test" {