Commit 83946431 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(utils.spec.qml): remove unnecessary ternary op

parent 07be9867
......@@ -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 ]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment