File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 11/*!
22 * AVOSCloud JavaScript SDK
3- * Version: 0.4.0
3+ * Version: 0.4.3
44 * Built: Mon Jun 03 2013 13:45:00
55 * http://avoscloud.com
66 *
1313 */
1414( function ( root ) {
1515 root . AV = root . AV || { } ;
16- root . AV . VERSION = "js0.4.0 " ;
16+ root . AV . VERSION = "js0.4.3 " ;
1717} ( this ) ) ;
1818// Underscore.js 1.4.4
1919// http://underscorejs.org
Original file line number Diff line number Diff line change @@ -59,6 +59,16 @@ describe("Queries",function(){
5959 done ( ) ;
6060 } ) ;
6161 } ) ;
62+ it ( "should return syntax error." , function ( done ) {
63+ AV . Cloud . doCloudQuery ( 'select * GameScore limit 10' ) . then ( function ( ) {
64+ throw "Shoud not be successfully." ;
65+ } ,
66+ function ( error ) {
67+ console . dir ( error ) ;
68+ expect ( error ) . to . be . an ( AV . Error ) ;
69+ done ( ) ;
70+ } ) ;
71+ } ) ;
6272 } ) ;
6373
6474 describe ( "#save&query()" , function ( ) {
You can’t perform that action at this time.
0 commit comments