Update position tuples in tests

This commit is contained in:
Josh Gross
2023-01-27 15:54:51 -05:00
parent c33fcbc83d
commit 16ad1addf5
3 changed files with 14 additions and 14 deletions
+4 -4
View File
@@ -32,8 +32,8 @@ describe("parseWorkflow", () => {
expect(result.context.errors.getErrors()).toEqual([
new TemplateValidationError("Required property is missing: runs-on", "test.yaml (Line: 4, Col: 5)", undefined, {
start: [4, 5],
end: [5, 24]
start: {line: 4, column: 5},
end: {line: 5, column: 24}
})
]);
});
@@ -62,8 +62,8 @@ jobs:
"test.yaml (Line: 6, Col: 13)",
undefined,
{
start: [6, 13],
end: [6, 37]
start: {line: 6, column: 13},
end: {line: 6, column: 37}
}
)
]);