persona-community-5/.pnpm-store/v3/files/1f/3168c6d66b49da8c2be174c98a8b78d1aa8fa8cbc201cc9f3df7bc135c3f1544ff0b7941a0c99c91c9e77913ec2247e66719e096e6981aa7f09713bd5c9d36
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

72 lines
1.8 KiB
Plaintext

import util = require("./testUtil");
suite('YAML Syntax', () => {
suite('Warnings for tab symbols', () => {
test('test 001', function () {
testErrors(
"schemas:\n" +
" - !i",
[
{
line: 1,
column: 4,
message: "unknown tag <!i>",
isWarning: false
}
]
);
});
test('test 002', function () {
testErrors(
"schemas:\n" +
" - !in",
[
{
line: 1,
column: 4,
message: "unknown tag <!in>",
isWarning: false
}
]
);
});
test('test 003', function () {
testErrors(
"schemas:\n" +
" - !inc",
[
{
line: 1,
column: 4,
message: "unknown tag <!inc>",
isWarning: false
}
]
);
});
test('test 004', function () {
testErrors(
"schemas:\n" +
" - !incl",
[
{
line: 1,
column: 4,
message: "unknown tag <!incl>",
isWarning: false
}
]
);
});
});
});
function testErrors(input:string,expectedErrors: util.TestError[]) {
util.testErrors(input, expectedErrors);
}