mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
split out trap tests to avoid "package.json" naming conflict in trap test
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#10000=@"/package.json;sourcefile"
|
||||
files(#10000,"/package.json","package","json",0)
|
||||
#10001=@"/;folder"
|
||||
folders(#10001,"/","")
|
||||
containerparent(#10001,#10000)
|
||||
#10002=@"loc,{#10000},0,0,0,0"
|
||||
locations_default(#10002,#10000,0,0,0,0)
|
||||
hasLocation(#10000,#10002)
|
||||
#20000=*
|
||||
json_errors(#20000,"Error: Unexpected token")
|
||||
#20001=@"loc,{#10000},3,1,3,1"
|
||||
locations_default(#20001,#10000,3,1,3,1)
|
||||
hasLocation(#20000,#20001)
|
||||
numlines(#10000,3,0,0)
|
||||
filetype(#10000,"json")
|
||||
@@ -1,14 +1,11 @@
|
||||
#10000=@"/invalid1/tst.js;sourcefile"
|
||||
files(#10000,"/invalid1/tst.js","tst","js",0)
|
||||
#10001=@"/invalid1;folder"
|
||||
folders(#10001,"/invalid1","invalid1")
|
||||
#10002=@"/;folder"
|
||||
folders(#10002,"/","")
|
||||
containerparent(#10002,#10001)
|
||||
#10000=@"/tst.js;sourcefile"
|
||||
files(#10000,"/tst.js","tst","js",0)
|
||||
#10001=@"/;folder"
|
||||
folders(#10001,"/","")
|
||||
containerparent(#10001,#10000)
|
||||
#10003=@"loc,{#10000},0,0,0,0"
|
||||
locations_default(#10003,#10000,0,0,0,0)
|
||||
hasLocation(#10000,#10003)
|
||||
#10002=@"loc,{#10000},0,0,0,0"
|
||||
locations_default(#10002,#10000,0,0,0,0)
|
||||
hasLocation(#10000,#10002)
|
||||
#20000=@"global_scope"
|
||||
scopes(#20000,0)
|
||||
#20001=@"script;{#10000},1,1"
|
||||
@@ -1,14 +1,11 @@
|
||||
#10000=@"/invalid2/package.json;sourcefile"
|
||||
files(#10000,"/invalid2/package.json","package","json",0)
|
||||
#10001=@"/invalid2;folder"
|
||||
folders(#10001,"/invalid2","invalid2")
|
||||
#10002=@"/;folder"
|
||||
folders(#10002,"/","")
|
||||
containerparent(#10002,#10001)
|
||||
#10000=@"/package.json;sourcefile"
|
||||
files(#10000,"/package.json","package","json",0)
|
||||
#10001=@"/;folder"
|
||||
folders(#10001,"/","")
|
||||
containerparent(#10001,#10000)
|
||||
#10003=@"loc,{#10000},0,0,0,0"
|
||||
locations_default(#10003,#10000,0,0,0,0)
|
||||
hasLocation(#10000,#10003)
|
||||
#10002=@"loc,{#10000},0,0,0,0"
|
||||
locations_default(#10002,#10000,0,0,0,0)
|
||||
hasLocation(#10000,#10002)
|
||||
#20000=*
|
||||
json(#20000,5,#10000,0,"{\n ""type"": 123\n}")
|
||||
#20001=@"loc,{#10000},1,1,3,1"
|
||||
@@ -1,14 +1,11 @@
|
||||
#10000=@"/invalid2/tst2.js;sourcefile"
|
||||
files(#10000,"/invalid2/tst2.js","tst2","js",0)
|
||||
#10001=@"/invalid2;folder"
|
||||
folders(#10001,"/invalid2","invalid2")
|
||||
#10002=@"/;folder"
|
||||
folders(#10002,"/","")
|
||||
containerparent(#10002,#10001)
|
||||
#10000=@"/tst2.js;sourcefile"
|
||||
files(#10000,"/tst2.js","tst2","js",0)
|
||||
#10001=@"/;folder"
|
||||
folders(#10001,"/","")
|
||||
containerparent(#10001,#10000)
|
||||
#10003=@"loc,{#10000},0,0,0,0"
|
||||
locations_default(#10003,#10000,0,0,0,0)
|
||||
hasLocation(#10000,#10003)
|
||||
#10002=@"loc,{#10000},0,0,0,0"
|
||||
locations_default(#10002,#10000,0,0,0,0)
|
||||
hasLocation(#10000,#10002)
|
||||
#20000=@"global_scope"
|
||||
scopes(#20000,0)
|
||||
#20001=@"script;{#10000},1,1"
|
||||
Reference in New Issue
Block a user