Skip to content

Commit 2d2a570

Browse files
authored
Fix grammar
1 parent 004a411 commit 2d2a570

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/instructions/dsc-community-style-guidelines-integration-tests.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This helper is provided in the build pipeline and is not required locally.
1919

2020
All integration tests must use the code block below before the first
2121
`Describe` block. The following code sets up the integration test
22-
environment and it will make sure the module being tested is available:
22+
environment and ensures the module under test is available:
2323

2424
```powershell
2525
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', '', Justification = 'Suppressing this rule because Script Analyzer does not understand Pester syntax.')]

.github/instructions/dsc-community-style-guidelines-powershell.instructions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ applyTo: "**/*.psm1,**/*.psd1,**/*.ps1"
3939

4040
- Single line: `@('one', 'two', 'three')`
4141
- Multi-line: each element on separate line with proper indentation
42-
- Return statement should not use comma operator to cast to array
42+
- Do not use the unary comma operator (`,`) in return statements to force
43+
an array
4344

4445
### Hashtables
4546

.github/instructions/dsc-community-style-guidelines.instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ reusable.
5757

5858
## Private functions
5959

60-
Before creating a private function, check if it there is an available command in
60+
Before creating a private function, check if there is an available command in
6161
the module [DscResource.Common](https://raw.githubusercontent.com/wiki/dsccommunity/DscResource.Common/_Sidebar.md) that can be used.
6262

6363
Private functions (helper functions) must each have their own script file,
@@ -78,6 +78,6 @@ Place unit tests for class-based resources in tests/Unit/Classes,
7878
for public commands in tests/Unit/Public, and
7979
for private functions in tests/Unit/Private.
8080

81-
### Integration tests
81+
## Integration tests
8282

8383
All public commands must have an integration test in tests/Integration/Commands.

0 commit comments

Comments
 (0)