diff --git a/tests/plugin/kawaguchi/QuickSort.scala b/tests/plugin/kawaguchi/QuickSort.scala
index 34a7af89787a2ef6501f4210ad25d86acc295a06..57fd0fbafbe97a4ee407a30155873b1b9337400e 100644
--- a/tests/plugin/kawaguchi/QuickSort.scala
+++ b/tests/plugin/kawaguchi/QuickSort.scala
@@ -28,7 +28,7 @@ object QuickSort {
       val (ls,rs) = partition(y => if (y < x) T(y) else F(x), xs)
       val ls1 = quicksort(ls)
       val rs1 = quicksort(rs)
-      (x :: ls1) ::: rs1
+      ls1 ::: (x :: rs1)
   }
   
   def check(xs: List[Int]): Boolean = xs match {