@@ -10,7 +10,7 @@ var ParseArray = require('../direct')
1010var expectSelectors = require ( './selectors-expected.json' )
1111var fixture = path . join ( __dirname , 'fixture.glsl' )
1212
13- test . only ( 'selector stream' , function ( t ) {
13+ test ( 'selector stream' , function ( t ) {
1414 var selectors = [ ]
1515
1616 fs . createReadStream ( fixture )
@@ -20,13 +20,6 @@ test.only('selector stream', function(t) {
2020 selectors . push ( selector ( x ) )
2121 } )
2222 . once ( 'end' , function ( ) {
23- // console.log(selectors.length, expectSelectors.length)
24- // for (let i = 0; i < selectors.length; i++) {
25- // if (selectors[i].length !== expectSelectors[i].length) {
26- // console.log(i, selectors[i], expectSelectors[i])
27- // break
28- // }
29- // }
3023 t . deepEqual ( selectors , expectSelectors )
3124 t . end ( )
3225 } )
@@ -60,7 +53,7 @@ test('stream().program === array()', function(t) {
6053
6154 var actual = Object . keys ( ast . scope ) . sort ( )
6255 var expect = [
63- 'a' , 'b' , 'c' , 'eigth' , 'empty' , 'emptyname'
56+ 'a' , 'b' , 'c' , 'distance' , ' eigth', 'empty' , 'emptyname'
6457 , 'emptynameemptyname' , 'fifth' , 'first' , 'forwarddecl'
6558 , 'fourth' , 'gary' , 'main' , 'one' , 'position' , 'proj'
6659 , 'second' , 'seventh' , 'sixth' , 'texcoord' , 'third' , 'two'
0 commit comments