{"size": 816, "ext": "js", "max_stars_repo_path": "test/3.1.2-test.js", "max_stars_repo_name": "hirokiky/textlint-rule-preset-JTF-style", "max_stars_repo_stars_event_min_datetime": "2017-04-04T19:45:47.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-09T05:59:17.000Z", "max_issues_repo_path": "test/3.1.2-test.js", "max_issues_repo_name": "hirokiky/textlint-rule-preset-JTF-style", "max_issues_repo_issues_event_min_datetime": "2017-04-04T15:08:00.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-30T00:34:37.000Z", "max_forks_repo_path": "test/3.1.2-test.js", "max_forks_repo_name": "hirokiky/textlint-rule-preset-JTF-style", "max_forks_repo_forks_event_min_datetime": "2017-05-22T08:15:14.000Z", "max_forks_repo_forks_event_max_datetime": "2021-08-06T14:03:11.000Z"}
{"max_stars_count": 98, "max_issues_count": 29, "max_forks_count": 13, "avg_line_length": 22.6666666667, "max_line_length": 59, "alphanum_fraction": 0.3909313725}
// LICENSE : MIT
"use strict";
import TextLintTester from "textlint-tester";
import rule from "../src/3.1.2";
var tester = new TextLintTester();
tester.run("3.1.2. 全角文字どうし", rule, {
    valid: [
        "これは正解",
        "This is 大丈夫",
        "This is a pen.",
        "ユーザー インターフェース" //カタカナは例外
    ],
    invalid: [
        {
            text: "これは ダメ",
            output: "これはダメ",
            errors: [
                {
                    message: "原則として、全角文字どうしの間にスペースを入れません。",
                    column: 4
                }
            ]
        },
        {
            text: "これは どういうこと？",
            output: "これはどういうこと？",
            errors: [
                {
                    message: "原則として、全角文字どうしの間にスペースを入れません。",
                    column: 4
                }
            ]
        }
    ]
});
