Skip to content

Commit 8cd9d76

Browse files
committed
Refactor the tests
1 parent b926296 commit 8cd9d76

11 files changed

Lines changed: 13 additions & 91 deletions
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
<html>
2-
<head>
3-
<title>Test</title>
4-
</head>
5-
<body>
6-
<label for="random">label for input</label>
7-
<input id="random">
8-
</body>
9-
</html>
1+
<label for="random">label for input</label>
2+
<input id="random">

test/diff/fixtures/first/ignore-comments.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<link href="non-ie.css" rel="stylesheet">
55
<!--<![endif]-->
66
<!--[if !IE 6]><!-->
7-
<link rel="stylesheet" type="text/css" media="screen, projection" href="REGULAR-STYLESHEET.css" />
7+
<link rel="stylesheet" type="text/css" media="screen, projection" href="REGULAR-STYLESHEET.css" />
88
<!--<![endif]-->
99
<!-- comments1 -->
1010
<html>
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
<html>
2-
<head>
3-
<title>Test</title>
4-
</head>
5-
<body>
6-
<label>label for input</label>
7-
<input id="random" class="ab bc cd" for="blah">
8-
</body>
9-
</html>
1+
<input id="random" class="ab bc cd" for="blah">
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
<html>
2-
<head>
3-
<title>Test</title>
4-
</head>
5-
<body>
6-
<label>label for input</label>
7-
<input class="ab bc cd">
8-
</body>
9-
</html>
1+
<input class="ab bc cd">
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
<html>
2-
<head>
3-
<title>Test</title>
4-
</head>
5-
<body>
6-
<label>label for input</label>
7-
<div onclick="return {&quot;a&quot;:{&quot;a&quot;:&quot;function() { return true; }&quot;,&quot;b&quot;:&quot;bb&quot;}}" ondblclick="return {&quot;a&quot;:{&quot;a&quot;:&quot;function() { return true; }&quot;,&quot;b&quot;:&quot;bb&quot;}}"></div>
8-
</body>
9-
</html>
1+
<div onclick="return {&quot;a&quot;:{&quot;a&quot;:&quot;function() { return true; }&quot;,&quot;b&quot;:&quot;bb&quot;}}" ondblclick="return {&quot;a&quot;:{&quot;a&quot;:&quot;function() { return true; }&quot;,&quot;b&quot;:&quot;bb&quot;}}"></div>
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
<html>
2-
<head>
3-
<title>Test</title>
4-
</head>
5-
<body>
6-
<label>label for input</label>
7-
<input a="{&quot;a&quot;:{&quot;a&quot;:{&quot;x&quot;:&quot;xx&quot;,&quot;y&quot;:&quot;yy&quot;},&quot;b&quot;:&quot;bb&quot;,&quot;c&quot;:&quot;cc&quot;},&quot;b&quot;:&quot;bb&quot;}" b="{&quot;a&quot;:&quot;aa&quot;,&quot;b&quot;:&quot;bb&quot;}">
8-
</body>
9-
</html>
1+
<input a="{&quot;a&quot;:{&quot;a&quot;:{&quot;x&quot;:&quot;xx&quot;,&quot;y&quot;:&quot;yy&quot;},&quot;b&quot;:&quot;bb&quot;,&quot;c&quot;:&quot;cc&quot;},&quot;b&quot;:&quot;bb&quot;}" b="{&quot;a&quot;:&quot;aa&quot;,&quot;b&quot;:&quot;bb&quot;}">
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
<html>
2-
<head>
3-
<title>Test</title>
4-
</head>
5-
<body>
6-
<label for="sfsdfksdf">label for input</label>
7-
<input id="sfsdfksdf">
8-
</body>
9-
</html>
1+
<label for="sfsdfksdf">label for input</label>
2+
<input id="sfsdfksdf">
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
<html>
2-
<head>
3-
<title>Test</title>
4-
</head>
5-
<body>
6-
<label>label for input</label>
7-
<input class="ab bc cd" for="blah" id="random">
8-
</body>
9-
</html>
1+
<input class="ab bc cd" for="blah" id="random">
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
<html>
2-
<head>
3-
<title>Test</title>
4-
</head>
5-
<body>
6-
<label>label for input</label>
7-
<input class=" cd ab bc">
8-
</body>
9-
</html>
1+
<input class=" cd ab bc">
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
<html>
2-
<head>
3-
<title>Test</title>
4-
</head>
5-
<body>
6-
<label>label for input</label>
7-
<div onclick="return {&quot;a&quot;:{&quot;b&quot;:&quot;bb&quot;,&quot;a&quot;:&quot;function() { return true; }&quot;}}" ondblclick="return {&quot;a&quot;:{&quot;b&quot;:&quot;bb&quot;,&quot;a&quot;:&quot;function() { return true; }&quot;}}"></div>
8-
</body>
9-
</html>
1+
<div onclick="return {&quot;a&quot;:{&quot;b&quot;:&quot;bb&quot;,&quot;a&quot;:&quot;function() { return true; }&quot;}}" ondblclick="return {&quot;a&quot;:{&quot;b&quot;:&quot;bb&quot;,&quot;a&quot;:&quot;function() { return true; }&quot;}}"></div>

0 commit comments

Comments
 (0)