diff --git a/stats_test.go b/stats_test.go
index <HASH>..<HASH> 100644
--- a/stats_test.go
+++ b/stats_test.go
@@ -687,7 +687,7 @@ func TestQuartile(t *testing.T) {
 		}
 	}
 
-	_, err := Sum([]float64{})
+	_, err := Quartile([]float64{})
 	if err == nil {
 		t.Errorf("Should have returned an error")
 	}
Fix copy pasta mistake testing the wrong function