Skip to content

Commit bdd0ef2

Browse files
committed
Fix tests
1 parent f062865 commit bdd0ef2

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
# Microsoft [![Build Status](https://travis-ci.org/errata-ai/Microsoft.svg?branch=master)](https://travis-ci.org/errata-ai/Microsoft) ![Vale version](https://img.shields.io/badge/vale-%3E%3D%20v1.7.0-blue.svg) ![license](https://img.shields.io/github/license/mashape/apistatus.svg)
1+
> **NOTE**: This project is neither maintained nor endorsed by Microsoft.
22
33
This repository contains a [Vale-compatible](https://github.com/errata-ai/vale) implementation of the [*Microsoft Writing Style Guide*](https://docs.microsoft.com/en-us/style-guide/welcome/) ([LICENSE](https://github.com/MicrosoftDocs/microsoft-style-guide/blob/master/LICENSE)).
44

55
The goal is to showcase how to build and maintain a full-featured style guide for Vale, including many examples of using [extension points](https://errata-ai.github.io/vale/styles/#extension-points) and a test suite using [Cucumber](https://cucumber.io/), [`yamllint`](https://github.com/adrienverge/yamllint), and [Travis CI](https://travis-ci.org/).
66

7+
[![Build Status](https://travis-ci.org/errata-ai/Microsoft.svg?branch=master)](https://travis-ci.org/errata-ai/Microsoft) ![Vale version](https://img.shields.io/badge/vale-%3E%3D%20v1.7.0-blue.svg) ![license](https://img.shields.io/github/license/mashape/apistatus.svg)
8+
79
## Getting Started
810

911
> :exclamation: Microsoft requires Vale >= **1.7.0**. :exclamation:

features/rules.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,21 @@ Feature: Rules
4545
test.md:5:9:Microsoft.Avoid:Don't use 'and/or'.
4646
test.md:5:34:Microsoft.ComplexWords:Consider using 'plenty' instead of 'abundance'.
4747
test.md:7:8:Microsoft.Adverbs:Consider removing 'very'.
48-
test.md:9:1:Microsoft.FirstPerson:Use first person (such as 'I') sparingly.
48+
test.md:9:1:Microsoft.FirstPerson:Use first person (such as 'I ') sparingly.
4949
test.md:9:27:Microsoft.Wordiness:Consider using 'enough' instead of 'an adequate number of'.
5050
test.md:11:9:Microsoft.Vocab:Verify your use of 'ensure' with the A-Z word list.
51-
test.md:17:1:Microsoft.FirstPerson:Use first person (such as 'I') sparingly.
51+
test.md:17:1:Microsoft.FirstPerson:Use first person (such as 'I ') sparingly.
5252
test.md:19:13:Microsoft.FirstPerson:Use first person (such as 'me') sparingly.
5353
test.md:21:1:Microsoft.FirstPerson:Use first person (such as 'I'm') sparingly.
5454
test.md:23:1:Microsoft.We:Try to avoid using first-person plural like 'We'.
5555
test.md:25:9:Microsoft.FirstPerson:Use first person (such as 'my') sparingly.
5656
test.md:27:14:Microsoft.FirstPerson:Use first person (such as 'mine') sparingly.
5757
test.md:29:17:Microsoft.We:Try to avoid using first-person plural like 'us'.
5858
test.md:31:1:Microsoft.We:Try to avoid using first-person plural like 'Let's'.
59-
test.md:33:1:Microsoft.FirstPerson:Use first person (such as 'I,') sparingly.
59+
test.md:33:1:Microsoft.FirstPerson:Use first person (such as 'I, ') sparingly.
6060
test.md:33:21:Microsoft.We:Try to avoid using first-person plural like 'our'.
6161
test.md:35:1:Microsoft.We:Try to avoid using first-person plural like 'We'.
62-
test.md:35:8:Microsoft.ComplexWords:Consider using 'carry out|do' instead of 'accomplish'.
62+
test.md:35:8:Microsoft.ComplexWords:Consider using 'carry out or do' instead of 'accomplish'.
6363
"""
6464

6565
Scenario: Backend vs. Back-end
@@ -86,7 +86,7 @@ Feature: Rules
8686
When I test "Dashes"
8787
Then the output should contain exactly:
8888
"""
89-
test.md:3:42:Microsoft.Dashes:Remove the spaces around ''.
89+
test.md:3:42:Microsoft.Dashes:Remove the spaces around ''.
9090
"""
9191

9292
Scenario: Use of units
@@ -129,7 +129,7 @@ Feature: Rules
129129
Then the output should contain exactly:
130130
"""
131131
test.md:3:10:Microsoft.Ellipses:In general, don't use an ellipsis.
132-
test.md:5:13:Microsoft.Hyphens:'officially-' doesn't need a hyphen.
132+
test.md:5:13:Microsoft.Hyphens:' officially-' doesn't need a hyphen.
133133
test.md:7:1:Microsoft.OxfordComma:Use the Oxford comma in 'I like red, blue, green and'.
134134
test.md:11:10:Microsoft.Quotes:Punctuation should be inside the quotes.
135135
test.md:15:19:Microsoft.Semicolon:Try to simplify this sentence.

0 commit comments

Comments
 (0)