mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Another test
This commit is contained in:
@@ -983,6 +983,11 @@ Tinytest.add("minimongo - projection_compiler", function (test) {
|
||||
[ { a: { b: 42 } }, { a: { b: 42 } }, "Can't have ambiguous rules (one is prefix of another)" ]
|
||||
]);
|
||||
});
|
||||
test.throws(function () {
|
||||
testProjection({ 'a.b.c': 1, 'a.b': 1, 'a': 1 }, [
|
||||
[ { a: { b: 42 } }, { a: { b: 42 } }, "Can't have ambiguous rules (one is prefix of another)" ]
|
||||
]);
|
||||
});
|
||||
|
||||
test.throws(function () {
|
||||
testProjection("some string", [
|
||||
|
||||
Reference in New Issue
Block a user