Skip to content

Commit 0728602

Browse files
committed
test: make test cast non-boolean value
1 parent 0cad0d7 commit 0728602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cast.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ describe('cast: ', function() {
259259

260260
it('treats unknown operators as passthrough (gh-15170)', function() {
261261
const schema = new Schema({ x: Boolean });
262-
assert.deepEqual(cast(schema, { x: { $someConditional: true } }),
262+
assert.deepEqual(cast(schema, { x: { $someConditional: 'true' } }),
263263
{ x: { $someConditional: true } });
264264
});
265265
});

0 commit comments

Comments
 (0)