浏览代码

update threads tests

Aleksandr Kuzmenko 4 年之前
父节点
当前提交
61c0e3c3b6
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      tests/threads/src/cases/TestElasticThreadPool.hx
  2. 1 1
      tests/threads/src/cases/TestFixedThreadPool.hx

+ 1 - 1
tests/threads/src/cases/TestElasticThreadPool.hx

@@ -4,7 +4,7 @@ import sys.thread.IThreadPool;
 import sys.thread.ElasticThreadPool;
 
 class TestElasticThreadPool extends misc.TestThreadPoolBase {
-	override function createThreadPool(count:Int):IThreadPool {
+	function createThreadPool(count:Int):IThreadPool {
 		return new ElasticThreadPool(count);
 	}
 

+ 1 - 1
tests/threads/src/cases/TestFixedThreadPool.hx

@@ -4,7 +4,7 @@ import sys.thread.IThreadPool;
 import sys.thread.FixedThreadPool;
 
 class TestFixedThreadPool extends misc.TestThreadPoolBase {
-	override function createThreadPool(count:Int):IThreadPool {
+	function createThreadPool(count:Int):IThreadPool {
 		return new FixedThreadPool(count);
 	}
 }