|
29 | 29 | sassijs = new Sassijs( testTemplate() );
|
30 | 30 | equals( sassijs.getStyleElement(), '<style type="text/css"><!--\n' + testResult() + '\n--></style>' );
|
31 | 31 | });
|
32 |
| - |
33 |
| - |
34 |
| -/* |
35 |
| - beforeEach = function(){ |
36 |
| - testString = "this is a test string for the string scanner"; |
37 |
| - stringScanner = new StringScanner( testString ); |
38 |
| - } |
39 |
| - |
40 |
| - test( "should be able to load an external file './temlates/basic.sass'", function(){ |
41 |
| - sassijs = new SassijsFile( )beforeEach(); |
42 |
| - equals( stringScanner.original, testString ); |
43 |
| - }); |
44 |
| - |
45 |
| - test( "stringScanner.original should match a Regex", function(){ |
46 |
| - beforeEach(); |
47 |
| - equals( stringScanner.scan( /\w+/ ), "this" ); |
48 |
| - }); |
49 |
| - |
50 |
| - test( "stringScanner.original should match a String", function(){ |
51 |
| - beforeEach(); |
52 |
| - equals( stringScanner.scan( 'this' ), "this" ); |
53 |
| - }); |
54 |
| - |
55 |
| - test( "stringScanner.getCurrent should be the remainder after the match", function(){ |
56 |
| - beforeEach(); |
57 |
| - stringScanner.scan( 'test' ); |
58 |
| - equals( stringScanner.getCurrent(), " string for the string scanner" ); |
59 |
| - }); |
60 |
| - |
61 |
| - test( "stringScanner.original should match a String, then match the same String again, and then match a different String after the second one", function(){ |
62 |
| - beforeEach(); |
63 |
| - equals( stringScanner.scan( 'string' ), "string" ); |
64 |
| - equals( stringScanner.scan( 'string' ), "string" ); |
65 |
| - equals( stringScanner.scan( 'scanner' ), "scanner" ); |
66 |
| - }); |
67 |
| - |
68 |
| - test( "stringScanner.original should match a String, then match the same String again, and then not find a different String occuring before the second one", function(){ |
69 |
| - beforeEach(); |
70 |
| - equals( stringScanner.scan( 'string' ), "string" ); |
71 |
| - equals( stringScanner.scan( 'string' ), "string" ); |
72 |
| - equals( stringScanner.scan( 'the' ), false ); |
73 |
| - }); |
74 |
| -*/ |
75 | 32 |
|
76 | 33 | </script>
|
77 | 34 |
|
78 | 35 | <h1></h1>
|
79 |
| - <h2 id="banner"> |
80 |
| - <select id='test_select'></select> |
81 |
| - </h2> |
| 36 | + <h2 id="banner"></h2> |
82 | 37 | <ol id="tests"></ol>
|
83 | 38 | <div id="results"></div>
|
84 | 39 | <div id="main"></div>
|
|
0 commit comments