Skip to content

Commit

Permalink
test: 修正测试错误
Browse files Browse the repository at this point in the history
  • Loading branch information
action-hong committed Feb 19, 2024
1 parent b46350e commit 16de4ef
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions client/src/test/diagnostics.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import * as assert from 'node:assert'
import { readFile } from 'node:fs/promises'
import * as vscode from 'vscode'
import { it } from 'mocha'
import { activate, getDocUri } from './helper'

suite('Should get diagnostics', () => {
Expand Down
1 change: 1 addition & 0 deletions client/src/test/formatter.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as vscode from 'vscode'
import { it } from 'mocha'
import { assertEqualAfterFix } from './helper'

suite('formatter should work', () => {
Expand Down
1 change: 1 addition & 0 deletions client/src/test/zhlintrc.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { it } from 'mocha'
import { assertEqualAfterFix } from './helper'

suite('zhlintrc, zhlintignore should work', () => {
Expand Down
8 changes: 4 additions & 4 deletions client/testFixture/example-units-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@
},
{
"target": "startContent",
"message": "此处标点符号需要统一到简体",
"message": "此处字符需要统一",
"range": [
20,
18,
Expand All @@ -621,7 +621,7 @@
},
{
"target": "endContent",
"message": "此处标点符号需要统一到简体",
"message": "此处字符需要统一",
"range": [
20,
24,
Expand Down Expand Up @@ -651,7 +651,7 @@
},
{
"target": "startContent",
"message": "此处标点符号需要统一到简体",
"message": "此处字符需要统一",
"range": [
20,
20,
Expand All @@ -661,7 +661,7 @@
},
{
"target": "endContent",
"message": "此处标点符号需要统一到简体",
"message": "此处字符需要统一",
"range": [
20,
22,
Expand Down

0 comments on commit 16de4ef

Please sign in to comment.