Skip to content

Commit 8104040

Browse files
committed
fix tests
1 parent 43bb14c commit 8104040

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ Example:
3030

3131
```js
3232
import { matchPatterns } from "@textlint/regexp-string-matcher";
33-
const inputText = `GitHub is a web-based hosting service for version control using git.
33+
const inputText = `
34+
GitHub is a web-based hosting service for version control using git.
3435
It is mostly used for computer code.
3536
GitHub launched in 2018-04-10.`;
3637
// RegExp like strings

test/example-test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import { matchPatterns } from "../src/regexp-string-matcher";
22
import * as assert from "assert";
33

44
it("example", () => {
5-
const inputText = `GitHub is a web-based hosting service for version control using git.
5+
const inputText = `
6+
GitHub is a web-based hosting service for version control using git.
67
It is mostly used for computer code.
78
GitHub launched in 2018-04-10.`;
89
// RegExp like strings

0 commit comments

Comments
 (0)