From e75ce9e7d05513f1376fd3ce5902430cd5f0e984 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Sat, 11 May 2024 11:16:00 +0200 Subject: [PATCH] Files to lowercase --- test/src/files/correct.test.ts | 6 +++--- test/src/files/incorrect.test.ts | 6 +++--- test/src/{Github.ts => github.ts} | 0 test/src/{SchemaTester.ts => schema-tester.ts} | 13 ++----------- test/src/{Utillity.test.ts => utillity.test.ts} | 2 +- test/src/{Utillity.ts => utillity.ts} | 0 test/src/{Validator.test.ts => validator.test.ts} | 4 ++-- 7 files changed, 11 insertions(+), 20 deletions(-) rename test/src/{Github.ts => github.ts} (100%) rename test/src/{SchemaTester.ts => schema-tester.ts} (91%) rename test/src/{Utillity.test.ts => utillity.test.ts} (93%) rename test/src/{Utillity.ts => utillity.ts} (100%) rename test/src/{Validator.test.ts => validator.test.ts} (96%) diff --git a/test/src/files/correct.test.ts b/test/src/files/correct.test.ts index c2ee5d90..b84170d3 100644 --- a/test/src/files/correct.test.ts +++ b/test/src/files/correct.test.ts @@ -1,7 +1,7 @@ import { expect } from "chai"; -import { Github } from "../Github"; -import { Schema } from "../SchemaTester"; -import { Files } from "../Utillity"; +import { Github } from "../github"; +import { Schema } from "../schema-tester"; +import { Files } from "../utillity"; describe("test correct files", function () { const folder = Files.CorrectFilesFolder().replace(/\\/gi, "/"); diff --git a/test/src/files/incorrect.test.ts b/test/src/files/incorrect.test.ts index 4faf6d42..18614a2e 100644 --- a/test/src/files/incorrect.test.ts +++ b/test/src/files/incorrect.test.ts @@ -1,7 +1,7 @@ import { expect } from "chai"; -import { Github } from "../Github"; -import { Schema } from "../SchemaTester"; -import { Files } from "../Utillity"; +import { Github } from "../github"; +import { Schema } from "../schema-tester"; +import { Files } from "../utillity"; describe("test incorrect files", function () { const folder = Files.InCorrectFilesFolder().replace(/\\/gi, "/"); diff --git a/test/src/Github.ts b/test/src/github.ts similarity index 100% rename from test/src/Github.ts rename to test/src/github.ts diff --git a/test/src/SchemaTester.ts b/test/src/schema-tester.ts similarity index 91% rename from test/src/SchemaTester.ts rename to test/src/schema-tester.ts index 92795673..a0844a3a 100644 --- a/test/src/SchemaTester.ts +++ b/test/src/schema-tester.ts @@ -1,17 +1,8 @@ -import { - getLanguageService, - LanguageService, - LanguageSettings, - SchemaConfiguration, - TextDocument, - JSONDocument, - Diagnostic, - Thenable, -} from "vscode-json-languageservice"; +import { getLanguageService, LanguageService, LanguageSettings, SchemaConfiguration, TextDocument, JSONDocument, Diagnostic, Thenable } from "vscode-json-languageservice"; import * as url from "url"; import * as data from "../../vscode-settings.json"; import { readFileSync } from "fs"; -import { Files } from "./Utillity"; +import { Files } from "./utillity"; export namespace Schema { const workspaceContext = { diff --git a/test/src/Utillity.test.ts b/test/src/utillity.test.ts similarity index 93% rename from test/src/Utillity.test.ts rename to test/src/utillity.test.ts index da3202ac..024fcbe1 100644 --- a/test/src/Utillity.test.ts +++ b/test/src/utillity.test.ts @@ -1,6 +1,6 @@ import { expect } from "chai"; import { DummyFiles } from "../../src/main"; -import { Files } from "./Utillity"; +import { Files } from "./utillity"; describe("Files", function () { it("Root", function () { diff --git a/test/src/Utillity.ts b/test/src/utillity.ts similarity index 100% rename from test/src/Utillity.ts rename to test/src/utillity.ts diff --git a/test/src/Validator.test.ts b/test/src/validator.test.ts similarity index 96% rename from test/src/Validator.test.ts rename to test/src/validator.test.ts index e62c76f5..ad2af77f 100644 --- a/test/src/Validator.test.ts +++ b/test/src/validator.test.ts @@ -1,9 +1,9 @@ import path = require("path"); -import { Files } from "./Utillity"; +import { Files } from "./utillity"; import * as fs from "fs"; import * as JSONC from "comment-json"; import { expect } from "chai"; -import { ErrorAnnotation, Github } from "./Github"; +import { ErrorAnnotation, Github } from "./github"; describe("Validate", function () { const folder = path.join(Files.TestFolder(), "..", "source");