瀏覽代碼

Fix return value

Popov72 4 年之前
父節點
當前提交
2b1a82beef
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/validation/validation.js

+ 1 - 1
tests/validation/validation.js

@@ -163,7 +163,7 @@ function runTest(index, done) {
     const excludedEngines = config.tests[index].excludedEngines;
     const webgl1 = !!window.disableWebGL2Support;
     if (Array.isArray(excludedEngines) && (webgl1 && excludedEngines.indexOf("webgl1") >= 0 || !webgl1 && excludedEngines.indexOf("webgl2") >= 0)) {
-        done(false);
+        done(true);
         return;
     }