Skip to content

Commit 6ae1301

Browse files
committed
Fix tests
1 parent d3017ad commit 6ae1301

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

SourceMaps.StackTraces.Tests/StackTraceParserTests.cs

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static IEnumerable<object[]> StackTraceData()
5454
},
5555
new StackFrame
5656
{
57-
File = "https://localhost:5001/dist/site.js", Method = "<unknown>",
57+
File = "https://localhost:5001/dist/site.js", Method = null,
5858
Arguments = Array.Empty<string>(),
5959
LineNumber = 1, ColumnNumber = 524
6060
},
@@ -82,7 +82,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
8282
},
8383
new StackFrame
8484
{
85-
File = "https://localhost:5001/dist/site.js", Method = "<unknown>",
85+
File = "https://localhost:5001/dist/site.js", Method = null,
8686
Arguments = Array.Empty<string>(),
8787
LineNumber = 1, ColumnNumber = 524
8888
},
@@ -130,15 +130,15 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
130130
new StackFrame
131131
{
132132
File = "C:\\\\project files\\\\spect\\\\node_modules\\\\esm\\\\esm.js",
133-
Method = "<unknown>",
133+
Method = null,
134134
Arguments = Array.Empty<string>(),
135135
LineNumber = 1,
136136
ColumnNumber = 34535,
137137
},
138138
new StackFrame
139139
{
140140
File = "C:\\\\project files\\\\spect\\\\node_modules\\\\esm\\\\esm.js",
141-
Method = "<unknown>",
141+
Method = null,
142142
Arguments = Array.Empty<string>(),
143143
LineNumber = 1,
144144
ColumnNumber = 34176,
@@ -251,7 +251,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
251251
new StackFrame
252252
{
253253
File = "102.js",
254-
Method = "<unknown>",
254+
Method = null,
255255
Arguments = Array.Empty<string>(),
256256
LineNumber = 1,
257257
ColumnNumber = 2956,
@@ -275,7 +275,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
275275
new StackFrame
276276
{
277277
File = "42.js",
278-
Method = "<unknown>",
278+
Method = null,
279279
Arguments = Array.Empty<string>(),
280280
LineNumber = 1,
281281
ColumnNumber = 822,
@@ -331,7 +331,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
331331
new StackFrame
332332
{
333333
File = "http://path/to/file.js",
334-
Method = "<unknown>",
334+
Method = null,
335335
Arguments = Array.Empty<string>(),
336336
LineNumber = 48,
337337
ColumnNumber = null,
@@ -355,7 +355,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
355355
new StackFrame
356356
{
357357
File = "[native code]",
358-
Method = "<unknown>",
358+
Method = null,
359359
Arguments = Array.Empty<string>(),
360360
LineNumber = null,
361361
ColumnNumber = null,
@@ -371,7 +371,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
371371
new StackFrame
372372
{
373373
File = "http://path/to/file.js",
374-
Method = "<unknown>",
374+
Method = null,
375375
Arguments = Array.Empty<string>(),
376376
LineNumber = 48,
377377
ColumnNumber = 22,
@@ -403,7 +403,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
403403
new StackFrame
404404
{
405405
File = "http://path/to/file.js",
406-
Method = "<unknown>",
406+
Method = null,
407407
Arguments = Array.Empty<string>(),
408408
LineNumber = 47,
409409
ColumnNumber = 22,
@@ -468,15 +468,15 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
468468
new StackFrame
469469
{
470470
File = "http://127.0.0.1:8000/js/stacktrace.js",
471-
Method = "<unknown>",
471+
Method = null,
472472
Arguments = Array.Empty<string>(),
473473
LineNumber = 44,
474474
ColumnNumber = null,
475475
},
476476
new StackFrame
477477
{
478478
File = "http://127.0.0.1:8000/js/stacktrace.js",
479-
Method = "<unknown>",
479+
Method = null,
480480
Arguments = new string[] { "null" },
481481
LineNumber = 31,
482482
ColumnNumber = null,
@@ -516,7 +516,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
516516
new StackFrame
517517
{
518518
File = "http://127.0.0.1:8000/js/file.js",
519-
Method = "<unknown>",
519+
Method = null,
520520
Arguments = Array.Empty<string>(),
521521
LineNumber = 24,
522522
ColumnNumber = null,
@@ -532,15 +532,15 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
532532
new StackFrame
533533
{
534534
File = "file:///G:/js/stacktrace.js",
535-
Method = "<unknown>",
535+
Method = null,
536536
Arguments = Array.Empty<string>(),
537537
LineNumber = 44,
538538
ColumnNumber = null,
539539
},
540540
new StackFrame
541541
{
542542
File = "file:///G:/js/stacktrace.js",
543-
Method = "<unknown>",
543+
Method = null,
544544
Arguments = new string[] { "null" },
545545
LineNumber = 31,
546546
ColumnNumber = null,
@@ -580,7 +580,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
580580
new StackFrame
581581
{
582582
File = "file:///G:/js/file.js",
583-
Method = "<unknown>",
583+
Method = null,
584584
Arguments = Array.Empty<string>(),
585585
LineNumber = 24,
586586
ColumnNumber = null,
@@ -596,7 +596,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
596596
new StackFrame
597597
{
598598
File = "http://path/to/file.js",
599-
Method = "<unknown>",
599+
Method = null,
600600
Arguments = Array.Empty<string>(),
601601
LineNumber = 48,
602602
ColumnNumber = null,
@@ -682,7 +682,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
682682
new StackFrame
683683
{
684684
File = "file:///path/to/index.html",
685-
Method = "<unknown>",
685+
Method = null,
686686
Arguments = Array.Empty<string>(),
687687
LineNumber = 23,
688688
ColumnNumber = 1,
@@ -737,7 +737,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
737737
new StackFrame
738738
{
739739
File = "http://path/to/file.js",
740-
Method = "<unknown>",
740+
Method = null,
741741
Arguments = Array.Empty<string>(),
742742
LineNumber = 24,
743743
ColumnNumber = 4,
@@ -879,7 +879,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
879879
new StackFrame
880880
{
881881
File = "http://localhost:8080/file.js",
882-
Method = "<unknown>",
882+
Method = null,
883883
Arguments = Array.Empty<string>(),
884884
LineNumber = 31,
885885
ColumnNumber = 13,
@@ -919,15 +919,15 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
919919
new StackFrame
920920
{
921921
File = "blob:http%3A//localhost%3A8080/d4eefe0f-361a-4682-b217-76587d9f712a",
922-
Method = "<unknown>",
922+
Method = null,
923923
Arguments = Array.Empty<string>(),
924924
LineNumber = 15,
925925
ColumnNumber = 10978,
926926
},
927927
new StackFrame
928928
{
929929
File = "blob:http%3A//localhost%3A8080/abfc40e9-4742-44ed-9dcd-af8f99a29379",
930-
Method = "<unknown>",
930+
Method = null,
931931
Arguments = Array.Empty<string>(),
932932
LineNumber = 1,
933933
ColumnNumber = 6911,
@@ -1055,7 +1055,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
10551055
new StackFrame
10561056
{
10571057
File = "http://path/to/file.js",
1058-
Method = "<unknown>",
1058+
Method = null,
10591059
Arguments = Array.Empty<string>(),
10601060
LineNumber = 47,
10611061
ColumnNumber = 22,
@@ -1086,7 +1086,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
10861086
new StackFrame
10871087
{
10881088
File = "file:///path/to/file.js",
1089-
Method = "<unknown>",
1089+
Method = null,
10901090
Arguments = Array.Empty<string>(),
10911091
LineNumber = 878,
10921092
ColumnNumber = null,
@@ -1102,7 +1102,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
11021102
new StackFrame
11031103
{
11041104
File = "http://path/to/file.js",
1105-
Method = "<unknown>",
1105+
Method = null,
11061106
Arguments = Array.Empty<string>(),
11071107
LineNumber = 4287,
11081108
ColumnNumber = null,
@@ -1151,7 +1151,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
11511151
new StackFrame
11521152
{
11531153
File = "http://localhost:8080/file.js",
1154-
Method = "<unknown>",
1154+
Method = null,
11551155
Arguments = Array.Empty<string>(),
11561156
LineNumber = 26,
11571157
ColumnNumber = null,
@@ -1167,7 +1167,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
11671167
new StackFrame
11681168
{
11691169
File = "http://localhost:8080/file.js",
1170-
Method = "<unknown>",
1170+
Method = null,
11711171
Arguments = Array.Empty<string>(),
11721172
LineNumber = 33,
11731173
ColumnNumber = 9,
@@ -1301,7 +1301,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
13011301
new StackFrame
13021302
{
13031303
File = "[native code]",
1304-
Method = "<unknown>",
1304+
Method = null,
13051305
Arguments = Array.Empty<string>(),
13061306
LineNumber = null,
13071307
ColumnNumber = null,
@@ -1367,14 +1367,14 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
13671367
new StackFrame
13681368
{
13691369
File = "C:\\\\projects\\\\spect\\\\node_modules\\\\esm\\\\esm.js",
1370-
Method = "<unknown>",
1370+
Method = null,
13711371
Arguments = Array.Empty<string>(),
13721372
LineNumber = 1,
13731373
ColumnNumber = 34535,
13741374
},
13751375
new StackFrame
13761376
{
1377-
File = "C:\\\\projects\\\\spect\\\\node_modules\\\\esm\\\\esm.js", Method = "<unknown>",
1377+
File = "C:\\\\projects\\\\spect\\\\node_modules\\\\esm\\\\esm.js", Method = null,
13781378
Arguments = Array.Empty<string>(), LineNumber = 1, ColumnNumber = 34176
13791379
},
13801380
new StackFrame
@@ -1416,7 +1416,7 @@ at throwErr (https://localhost:5001/dist/site.js:1:45)
14161416
new StackFrame
14171417
{
14181418
File = "<anonymous>",
1419-
Method = "<unknown>",
1419+
Method = null,
14201420
Arguments = Array.Empty<string>(),
14211421
LineNumber = 1,
14221422
ColumnNumber = 2,
@@ -1437,7 +1437,7 @@ at emitKey (readline.js:1095:12)",
14371437
new StackFrame
14381438
{
14391439
File = "repl",
1440-
Method = "<unknown>",
1440+
Method = null,
14411441
Arguments = Array.Empty<string>(),
14421442
LineNumber = 1,
14431443
ColumnNumber = 2,
@@ -1521,7 +1521,7 @@ at REPLServer.Interface._ttyWrite (readline.js:826:14)",
15211521
new StackFrame
15221522
{
15231523
File = "repl",
1524-
Method = "<unknown>",
1524+
Method = null,
15251525
Arguments = Array.Empty<string>(),
15261526
LineNumber = 1,
15271527
ColumnNumber = 1,

0 commit comments

Comments
 (0)