Permalink
Browse files

Cleanup failing test

  • Loading branch information...
1 parent ae3efbf commit 13b356f3d62318cd4a47b1a27d5c64fc3177e6c9 @nzakas nzakas committed Feb 10, 2012
View
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 10-February-2012 12:53:48 */
+/* Version v@VERSION@, Build time: 10-February-2012 12:55:51 */
var parserlib = {};
(function(){
@@ -931,7 +931,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 10-February-2012 12:53:48 */
+/* Version v@VERSION@, Build time: 10-February-2012 12:55:51 */
(function(){
var EventTarget = parserlib.util.EventTarget,
TokenStreamBase = parserlib.util.TokenStreamBase,
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 10-February-2012 12:53:48 */
+/* Version v@VERSION@, Build time: 10-February-2012 12:55:51 */
var parserlib = {};
(function(){
@@ -931,7 +931,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 10-February-2012 12:53:48 */
+/* Version v@VERSION@, Build time: 10-February-2012 12:55:51 */
(function(){
var EventTarget = parserlib.util.EventTarget,
TokenStreamBase = parserlib.util.TokenStreamBase,
View
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 10-February-2012 12:53:48 */
+/* Version v@VERSION@, Build time: 10-February-2012 12:55:51 */
var parserlib = {};
(function(){
View
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 10-February-2012 12:53:48 */
+/* Version v@VERSION@, Build time: 10-February-2012 12:55:51 */
(function(){
var EventTarget = parserlib.util.EventTarget,
TokenStreamBase = parserlib.util.TokenStreamBase,
View
@@ -1495,26 +1495,6 @@
Assert.isTrue(event.important, "Important should be true.");
});
var result = parser.parse(".foo {\n color: #fff !important;\n}");
- },
-
- "Test two rules on same line": function() {
- var parser = new Parser({ strict: true });
-
- parser.addListener("startrule", function(event) {
- var selectors = event.selectors;
-
- if (selectors[0].text == "a") {
- Assert.areEqual(1, selectors[0].line);
- Assert.areEqual(1, selectors[0].col);
- } else if (selectors[0].text == ".foo") {
- Assert.areEqual(1, selectors[0].line);
- Assert.areEqual(34, selectors[0].col);
- } else {
- Assert.fail("Unexpected.");
- }
- });
-
- var result = parser.parse("a {\n text-decoration: none;\n} .foo {\n color: red;\n}");
}
}));
View
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 10-February-2012 12:53:48 */
+/* Version v@VERSION@, Build time: 10-February-2012 12:55:51 */
var parserlib = {};
(function(){
@@ -931,7 +931,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Version v@VERSION@, Build time: 10-February-2012 12:53:48 */
+/* Version v@VERSION@, Build time: 10-February-2012 12:55:51 */
(function(){
var EventTarget = parserlib.util.EventTarget,
TokenStreamBase = parserlib.util.TokenStreamBase,
View
@@ -1495,26 +1495,6 @@
Assert.isTrue(event.important, "Important should be true.");
});
var result = parser.parse(".foo {\n color: #fff !important;\n}");
- },
-
- "Test two rules on same line": function() {
- var parser = new Parser({ strict: true });
-
- parser.addListener("startrule", function(event) {
- var selectors = event.selectors;
-
- if (selectors[0].text == "a") {
- Assert.areEqual(1, selectors[0].line);
- Assert.areEqual(1, selectors[0].col);
- } else if (selectors[0].text == ".foo") {
- Assert.areEqual(1, selectors[0].line);
- Assert.areEqual(34, selectors[0].col);
- } else {
- Assert.fail("Unexpected.");
- }
- });
-
- var result = parser.parse("a {\n text-decoration: none;\n} .foo {\n color: red;\n}");
}
}));

0 comments on commit 13b356f

Please sign in to comment.