mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-04 21:39:56 +00:00
feat(utils.spec.qml): remove unnecessary ternary op
This commit is contained in:
parent
07be986761
commit
8394643192
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ TestCase {
|
|||
output: [ 0, 2, 4, 6, 8, 10, 12, 14, 16, 18 ]
|
||||
},
|
||||
{
|
||||
cb: function (n) { return n % 2 ? 1 : 0 },
|
||||
cb: function (n) { return n % 2 },
|
||||
n: 10,
|
||||
output: [ 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue