Skip to content

Commit 88f3c39

Browse files
committed
Update .NET tools to their latest versions
1 parent adf6313 commit 88f3c39

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.config/dotnet-tools.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"dotnet-script": {
6-
"version": "1.2.1",
6+
"version": "1.5.0",
77
"commands": [
88
"dotnet-script"
99
]
@@ -15,7 +15,7 @@
1515
]
1616
},
1717
"powershell": {
18-
"version": "7.1.5",
18+
"version": "7.4.2",
1919
"commands": [
2020
"pwsh"
2121
]

tests/DocoptNet.Tests/CodeGeneration/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ of the project's Git repository.
6262

6363
When 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

6767
The script will create a temporary working tree from the current branch, where
6868
the expected output will be replaced by the actual output, and then proceed to
@@ -75,12 +75,12 @@ explore the changes.
7575

7676
To 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

8080
If the actual output is intended then running the `accept` command of the script
8181
will 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

8585
For more detailed usage of the script, run:
8686

tests/DocoptNet.Tests/CodeGeneration/SourceGeneratorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ from r in results
406406
407407
cd ""{solutionDirPath}""
408408
dotnet 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;

0 commit comments

Comments
 (0)