public void Foo() { var lines = SourceMapMapper.SourceLinesFromStackTrace(EncodedContent); Debug.WriteLine("Splitted:"); foreach (var line in lines) { Debug.WriteLine(line); } lines .Should() .NotBeNullOrEmpty(); }
public void StackTraceContainsMeaningfullMessage() { var stack = "Expected 0 to be 1. 		at buildExpectationResult (file:///C:/Projects/JSCrunch/packages/Chutzpah.4.2.1/tools/TestFiles/jasmine/v2/jasmine.js:1547:19) 		at expectationResultFactory (file:///C:/Projects/JSCrunch/packages/Chutzpah.4.2.1/tools/TestFiles/jasmine/v2/jasmine.js:638:40) 		at addExpectationResult (file:///C:/Projects/JSCrunch/packages/Chutzpah.4.2.1/tools/TestFiles/jasmine/v2/jasmine.js:330:58) 		at addExpectationResult (file:///C:/Projects/JSCrunch/packages/Chutzpah.4.2.1/tools/TestFiles/jasmine/v2/jasmine.js:588:41) 		at file:///C:/Projects/JSCrunch/packages/Chutzpah.4.2.1/tools/TestFiles/jasmine/v2/jasmine.js:1501:32"; var lines = SourceMapMapper.SourceLinesFromStackTrace(stack); }