diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-02-15 12:55:02 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-02-16 13:04:04 +0000 |
commit | 69c3daf42c0ffb9b1f479d37f0caced77dc7fde8 (patch) | |
tree | 39d2abe570b9087f6b6d5d0e18a6d4710a233b34 /tests/auto/blackbox/testdata-apple/ib | |
parent | d60e43c90e9dd0565128e7b3e315ff82115418f7 (diff) | |
download | qbs-69c3daf42c0ffb9b1f479d37f0caced77dc7fde8.tar.gz |
Prefer built-in JS function in autotests
contains -> includes
Change-Id: I330b1ee3319399d6c59ce5a4efaf14c642ad361e
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/blackbox/testdata-apple/ib')
-rw-r--r-- | tests/auto/blackbox/testdata-apple/ib/assetcatalog/assetcatalogempty.qbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/blackbox/testdata-apple/ib/assetcatalog/assetcatalogempty.qbs b/tests/auto/blackbox/testdata-apple/ib/assetcatalog/assetcatalogempty.qbs index 7cbb58051..d06e24eb3 100644 --- a/tests/auto/blackbox/testdata-apple/ib/assetcatalog/assetcatalogempty.qbs +++ b/tests/auto/blackbox/testdata-apple/ib/assetcatalog/assetcatalogempty.qbs @@ -3,7 +3,7 @@ import qbs.Utilities Project { condition: { - var result = qbs.targetOS.contains("macos"); + var result = qbs.targetOS.includes("macos"); if (!result) console.info("Skip this test"); return result; |