| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package memory | 5 package memory |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "fmt" | 8 "fmt" |
| 9 "math" | 9 "math" |
| 10 "testing" | 10 "testing" |
| (...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 }) | 571 }) |
| 572 Convey("kindless with decending-__key__ orders", func()
{ | 572 Convey("kindless with decending-__key__ orders", func()
{ |
| 573 q := ds.NewQuery("").Order("-__key__") | 573 q := ds.NewQuery("").Order("-__key__") |
| 574 qi := q.(*queryImpl).checkCorrectness("", false) | 574 qi := q.(*queryImpl).checkCorrectness("", false) |
| 575 So(qi.err.Error(), ShouldContainSubstring, "kind
is required for all orders") | 575 So(qi.err.Error(), ShouldContainSubstring, "kind
is required for all orders") |
| 576 }) | 576 }) |
| 577 }) | 577 }) |
| 578 | 578 |
| 579 }) | 579 }) |
| 580 } | 580 } |
| OLD | NEW |