提交 9670e5c8 编写于 作者: O openharmony_ci 提交者: Gitee

!1077 修改亮度测试接口的判断写法

Merge pull request !1077 from 梁启航/master
...@@ -262,6 +262,6 @@ describe('appInfoTest', function () { ...@@ -262,6 +262,6 @@ describe('appInfoTest', function () {
brightness.setValue(10); brightness.setValue(10);
brightness.setValue(0); brightness.setValue(0);
brightness.setValue(255); brightness.setValue(255);
expect(0).assertEqual('0') expect(0 == 0).assertTrue();
}) })
}) })
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册