Skip to content

Commit

Permalink
test: added more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Jun 25, 2024
1 parent 9d5a5b1 commit 29b1cdd
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ link: https://spectrocloud.atlassian.net/wiki/spaces/DE/pages/1765933057/Spectro
scope: sentence
nonword: true
tokens:
- '(\b(?:\w+(?: \w+)?, )+\b(?:\w+(?: \w+)?) (?:and|or) \w+(?: \w+)?[.?!])'
- '\b\w+(?: \w+)*, \w+(?: \w+)* (and|or) \w+(?: \w+)*[.?!]'
2 changes: 1 addition & 1 deletion packages/spectrocloud/styles/spectrocloud/oxford-comma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ link: https://spectrocloud.atlassian.net/wiki/spaces/DE/pages/1765933057/Spectro
scope: sentence
nonword: true
tokens:
- '(\b(?:\w+(?: \w+)?, )+\b(?:\w+(?: \w+)?) (?:and|or) \w+(?: \w+)?[.?!])'
- '\b\w+(?: \w+)*, \w+(?: \w+)* (and|or) \w+(?: \w+)*[.?!]'
4 changes: 4 additions & 0 deletions packages/spectrocloud/tests/oxford-comma/.vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Oxford-Comma = YES
5 changes: 5 additions & 0 deletions packages/spectrocloud/tests/oxford-comma/fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Overview

The project requires collaboration among engineers, designers and managers to succeed.

From the left Main Menu, select Profiles and then select Add Cluster Profile.
5 changes: 5 additions & 0 deletions packages/spectrocloud/tests/oxford-comma/pass.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Overview

With a unique approach to managing multiple clusters, Palette gives IT teams complete control, visibility, and production-scale efficiencies.

From the left Main Menu, select Profiles, and then select Add Cluster Profile.

0 comments on commit 29b1cdd

Please sign in to comment.