aboutsummaryrefslogtreecommitdiff
path: root/stm_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'stm_test.go')
-rw-r--r--stm_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm_test.go b/stm_test.go
index 519415a..8526139 100644
--- a/stm_test.go
+++ b/stm_test.go
@@ -205,7 +205,7 @@ func TestAtomicSetRetry(t *testing.T) {
}
func testPingPong(t testing.TB, n int, afterHit func(string)) {
- ball := NewVar(false)
+ ball := NewBuiltinEqVar(false)
doneVar := NewVar(false)
hits := NewVar(0)
ready := NewVar(true) // The ball is ready for hitting.