File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,12 @@ describe('Test strings', function() {
12
12
it ( '...' , function ( ) {
13
13
var ast = parser . parseEval ( 'echo B"\\colors[1] contains >$colors[1]<\\n";' ) ;
14
14
} ) ;
15
- it ( '...' , function ( ) {
16
- var ast = parser . parseEval ( 'echo "\\colors[1] contains >$colors [1]<\\n";' ) ;
15
+ it ( 'binary cast' , function ( ) {
16
+ var ast = parser . parseEval ( 'echo (binary)"\\colors[1] contains >$colors[1]<\\n";' ) ;
17
+ console . log ( ast . children [ 0 ] . arguments [ 0 ] ) ;
17
18
} ) ;
18
19
it ( '...' , function ( ) {
19
- var ast = parser . parseEval ( 'var_dump("$colors[1]");' ) ;
20
- } ) ;
21
- it ( '...' , function ( ) {
22
- var ast = parser . parseEval ( 'var_dump("$colors[01]");' ) ;
23
- } ) ;
24
- it ( '...' , function ( ) {
25
- var ast = parser . parseEval ( 'var_dump("$colors[0x1]");' ) ;
26
- } ) ;
27
- it ( '...' , function ( ) {
28
- var ast = parser . parseEval ( 'var_dump("$colors[0X1]");' ) ;
20
+ var ast = parser . parseEval ( 'echo "\\colors[1] contains >$colors [1]<\\n";' ) ;
29
21
} ) ;
30
22
it ( '...' , function ( ) {
31
23
var ast = parser . parseEval ( 'echo "~\'.{{$expectedLength}}\'\\$~s";' ) ;
You can’t perform that action at this time.
0 commit comments