Fix error in LockFreeLinkedListTest

This commit is contained in:
ryoii 2020-02-23 22:57:06 +08:00
parent 1660e5b938
commit a52655e2ab

View File

@ -161,7 +161,7 @@ internal class LockFreeLinkedListTest {
println("Check value") println("Check value")
value shouldBeEqualTo 6 value shouldBeEqualTo 6
println("Check size") println("Check size")
println(list.getLinkStructure()) // println(list.getLinkStructure())
list.size shouldBeEqualTo 6 list.size shouldBeEqualTo 6
} }
@ -174,7 +174,7 @@ internal class LockFreeLinkedListTest {
println("Check value") println("Check value")
value shouldBeEqualTo 2 value shouldBeEqualTo 2
println("Check size") println("Check size")
println(list.getLinkStructure()) // println(list.getLinkStructure())
list.size shouldBeEqualTo 5 list.size shouldBeEqualTo 5
} }
@ -198,7 +198,7 @@ internal class LockFreeLinkedListTest {
println("Check value") println("Check value")
value shouldBeEqualTo 2 value shouldBeEqualTo 2
println("Check size") println("Check size")
println(list.getLinkStructure()) // println(list.getLinkStructure())
list.size shouldBeEqualTo 1 list.size shouldBeEqualTo 1
} }
/* /*