Skip to content
Snippets Groups Projects
Commit 73d6aaf0 authored by Dominik Eckelmann's avatar Dominik Eckelmann
Browse files

transformed lib/ unittests to phpunit

parent 4a0b564e
No related branches found
No related tags found
No related merge requests found
Showing
with 44 additions and 0 deletions
var r = / a backslash\// ;
var r=/ a backslash\//;
\ No newline at end of file
var r = /simple/g ;
var r=/simple/g;
\ No newline at end of file
var r = / simple with whitespace /g ;
var r=/ simple with whitespace /g;
\ No newline at end of file
var r = "fruit" ;
r.replace ( /fruit/g, "apple") ;
var r="fruit";r.replace(/fruit/g,"apple");
\ No newline at end of file
var x = 0;
do x=x+1 while (x < 10);
var x=0;do x=x+1 while(x<10);
\ No newline at end of file
for ( var x in foo )
document.write(x);
for(var x in foo)document.write(x);
\ No newline at end of file
var x = new Object();
\ No newline at end of file
var x=new Object();
\ No newline at end of file
var x = 1;
switch (x) {
case 1: document.write(1);
}
\ No newline at end of file
var x=1;switch(x){case 1:document.write(1);}
\ No newline at end of file
var s1 = "double \"quotes\"" ;
var s2 = "'test'" ;
var s1="double \"quotes\"";var s2="'test'";
\ No newline at end of file
var s1 = 'single \'quotes\' ' ;
var s2= '/* test */' ;
var s3 = '// test' ;
var s4 = '"test"' ;
var s1='single \'quotes\' ';var s2='/* test */';var s3='// test';var s4='"test"';
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment