File tree Expand file tree Collapse file tree
tests/DocoptNet.Tests/CodeGeneration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 "isRoot" : true ,
44 "tools" : {
55 "dotnet-script" : {
6- "version" : " 1.2.1 " ,
6+ "version" : " 1.5.0 " ,
77 "commands" : [
88 " dotnet-script"
99 ]
1515 ]
1616 },
1717 "powershell" : {
18- "version" : " 7.1.5 " ,
18+ "version" : " 7.4.2 " ,
1919 "commands" : [
2020 " pwsh"
2121 ]
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ of the project's Git repository.
6262
6363When a test case fails, run the script as follows:
6464
65- dotnet script tests/DocoptNet.Tests/sgss.csx inspect -i
65+ dotnet script tests/DocoptNet.Tests/sgss.csx -- inspect -i
6666
6767The script will create a temporary working tree from the current branch, where
6868the expected output will be replaced by the actual output, and then proceed to
@@ -75,12 +75,12 @@ explore the changes.
7575
7676To remove the temporary working tree and branch, run:
7777
78- dotnet script tests/DocoptNet.Tests/sgss.csx clean --force
78+ dotnet script tests/DocoptNet.Tests/sgss.csx -- clean --force
7979
8080If the actual output is intended then running the ` accept ` command of the script
8181will replace the expected output snapshot with the actual output, thus becoming the new expected output:
8282
83- dotnet script tests/DocoptNet.Tests/sgss.csx accept
83+ dotnet script tests/DocoptNet.Tests/sgss.csx -- accept
8484
8585For more detailed usage of the script, run:
8686
Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ from r in results
406406
407407cd ""{ solutionDirPath } ""
408408dotnet tool restore
409- dotnet script { Path . Combine ( "tests" , "DocoptNet.Tests" , "sgss.csx" ) } inspect -i" ) ;
409+ dotnet script { Path . Combine ( "tests" , "DocoptNet.Tests" , "sgss.csx" ) } -- inspect -i" ) ;
410410 }
411411
412412 abstract record SnapshotComparisonResult ;
You can’t perform that action at this time.
0 commit comments