未验证 提交 81b2dc22 编写于 作者: O openharmony_ci 提交者: Gitee

!4177 修改用例WebGLContextAttributes alpha

Merge pull request !4177 from zleoyu/monthly_20220614
...@@ -299,7 +299,7 @@ describe('webgl1Test1', function() { ...@@ -299,7 +299,7 @@ describe('webgl1Test1', function() {
it('webgl_test_getContextAttributes', 0, async function(done) { it('webgl_test_getContextAttributes', 0, async function(done) {
console.info("webgltest into getContextAttributes"); console.info("webgltest into getContextAttributes");
const getContextAttributesValue = gl.getContextAttributes(); const getContextAttributesValue = gl.getContextAttributes();
const alphaValue = getContextAttributesValue.alpha(); const alphaValue = getContextAttributesValue.alpha;
console.info("webgltest getContextAttributes: " + getContextAttributesValue); console.info("webgltest getContextAttributes: " + getContextAttributesValue);
expect(typeof(getContextAttributesValue)).assertEqual("object" || null); expect(typeof(getContextAttributesValue)).assertEqual("object" || null);
done(); done();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册