persona-community-5/.pnpm-store/v3/files/85/7a8b2403145248f9de460867f738c1d312d1540786d6881d7d595d59cca288718f64b35fa8d8d126c1c8974ad66af064ffe26b688cf35cbfe266bb6b00618d
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

35 lines
1.1 KiB
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var util = require("./testUtil");
suite('YAML Syntax', function () {
suite('Warnings for tab symbols', function () {
test('test 001', function () {
testErrors("schemas:\n" +
"\tsch1:\n", [
{
line: 1,
column: 0,
message: "Using tabs can lead to unpredictable results",
isWarning: true
}
]);
});
test('test 002', function () {
testErrors("level0:\n" +
" level1:\n" +
" level2:\n" +
" \t level3:\n", [
{
line: 3,
column: 2,
message: "Using tabs can lead to unpredictable results",
isWarning: true
}
]);
});
});
});
function testErrors(input, expectedErrors) {
util.testErrors(input, expectedErrors);
}
//# sourceMappingURL=yamlSyntax.test.js.map