Skip to content

Commit

Permalink
reverse combinator specs todo
Browse files Browse the repository at this point in the history
  • Loading branch information
subtleGradient committed Sep 16, 2009
1 parent 2c6221a commit c015e77
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
33 changes: 33 additions & 0 deletions test/slick_reverse_specs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// Helpers

Function.prototype._type = "Function";

String.escapeSingle = function escapeSingle(string){
return (''+string).replace(/(?=[\\\n'])/g,'\\');
};

Slick.debug = function(message){
try{console.log(Array.prototype.slice.call(arguments));}catch(e){};
throw new Error(message);
};


/*
Slick Parser Specs
*/
this.PARSE = this.PARSE || Slick.parse;
var s, it, its, specs;
specs = it = its = {};


it['should exist'] = function(){
value_of(PARSE).should_not_be_undefined();
};



// reverse combinators
// TODO: reverse combinator specs


describe('Slick Selector Object Reverse', specs);
1 change: 1 addition & 0 deletions test/specrunner_SlickParser.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<script type="text/javascript" src="assets/diff_match_patch.js"></script>
<script type="text/javascript" src="assets/JSSpec.js"></script>
<script type="text/javascript" src="slick_parser_specs.js"></script>
<script type="text/javascript" src="slick_reverse_specs.js"></script>
</head>
<body></body>
</html>

0 comments on commit c015e77

Please sign in to comment.