Add structured output tests #74
Annotations
4 errors
Run: Test, InstallLinters, Lint
[xUnit.net 00:00:01.77] StructuredOutputTests.tests_parsing_strings-0.structured output [FAIL]
|
Run: Test, InstallLinters, Lint
System.AggregateException : One or more errors occurred. (Directory: D:\a\visp-fs\visp-fs\tests\Visp.Compiler.UnitTests\parsing-snapshots
NotEqual:
- Received: tests_parsing_strings-0.structured output.received.txt
Verified: tests_parsing_strings-0.structured output.verified.txt
FileContent:
NotEqual:
Received: tests_parsing_strings-0.structured output.received.txt
ParsedFile
[AnonModule
([Expr
(FunctionCall
(Symbol (SynSymbol printfn),
[Const (String ("string is: '%s'", Regular, (9,9--9,26)), (9,9--9,26));
Const (String ("\n this is\n a multiline\n string\n", Regular, (9,27--13,1)), (9,27--13,1))],
(9,1--13,1)), (9,0--13,2));
Expr
(FunctionCall
(Symbol (SynSymbol printfn),
[Const (String ("string is: '%s'", Regular, (15,9--15,26)), (15,9--15,26));
Const
(String ("\n this is\n a multiline\n string\n", TripleQuote, (15,27--19,3)), (15,27--19,3))],
(15,1--19,3)), (15,0--19,4));
Expr
(FunctionDef
(SynSymbol generate-test, None, Args (List [Named (SynSymbol path, (21,19--21,23))], (21,18--21,24)),
[LetOrUse
(Named (SynSymbol template, (22,7--22,15)),
FunctionCall
(Symbol (SynSymbol sprintf),
[Const
(String ("\nlet ``can parse %s`` =\n TestUtils.runTest %s\n |> Async.AwaitTask\n ", TripleQuote, (22,25--26,5)),
(22,25--26,5)); Symbol (SynSymbol path); Symbol (SynSymbol path)], (22,17--26,15)), None,
(22,3--26,16)); Symbol (SynSymbol template)], (21,1--28,10)), (21,0--28,11));
Expr
(LetOrUse
(Named (SynSymbol visp_result_todo, (30,0--30,49)),
FunctionCall
(Symbol (SynSymbol printfn),
[Const (String ("test is: '%s'", Regular, (30,9--30,24)), (30,9--30,24));
FunctionCall
(Symbol (SynSymbol generate-test),
[Const (String ("hello", Regular, (30,40--30,47)), (30,40--30,47))], (30,26--30,47))], (30,1--30,48)),
None, (30,0--30,49)), (30,0--30,49));
Expr
(FunctionCall
(Symbol (SynSymbol printfn),
[Const (String ("%A", Regular, (30,0--30,49)), (30,0--30,49)); Symbol (SynSymbol visp_result_todo)],
(30,0--30,49)), (30,0--30,49))], (9,0--30,49))]
Verified: tests_parsing_strings-0.structured output.verified.txt
ParsedFile
[AnonModule
([Expr
(FunctionCall
(Symbol (SynSymbol printfn),
[Const (String ("string is: '%s'", Regular, (9,9--9,26)), (9,9--9,26));
Const (String ("\n this is\n a multiline\n string\n", Regular, (9,27--13,1)), (9,27--13,1))],
(9,1--13,1)), (9,0--13,2));
Expr
(FunctionCall
(Symbol (SynSymbol printfn),
[Const (String ("string is: '%s'", Regular, (15,9--15,26)), (15,9--15,26));
Const (String ("\n this is\n a multiline\n string\n", TripleQuote, (15,27--19,3)), (15,27--19,3))],
(15,1--19,3)), (15,0--19,4));
Expr
(FunctionDef
(SynSymbol generate-test, None, Args (List [Named (SynSymbol path, (21,19--21,23))], (21,18--21,24)),
[LetOrUse
(Named (SynSymbol template, (22,7--22,15)),
FunctionCall
(Symbol (SynSymbol sprintf),
[Const
(String ("\nlet ``can parse %s`` =\n TestUtils.runTest %s\n |> Async.AwaitTask\n ", TripleQuote, (22,25--26,5)),
(22,25--26,5)); Symbol (SynSymbol path); Symbol (SynSymbol path)], (22,17--26,15)), None,
(22,3--26,16)); Symbol (SynSymbol template)], (21,1--28,10)), (21,0--28,11));
Expr
(LetOrUse
(Named (SynSymbol visp_result_todo, (30,0--30,49)),
FunctionCall
(Symbol (SynSymbol printfn),
|
Run: Test, InstallLinters, Lint
Target "Test" has thrown an exception
|
Run: Test, InstallLinters, Lint
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading