Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/tests/smoke/check/check-versions-no-mismatch.test.ts
12921 views
1
/*
2
* check-versions-no-mismatch.test.ts
3
*
4
* Copyright (C) 2020-2025 Posit Software, PBC
5
*
6
*/
7
8
import { testQuartoCmd } from "../../test.ts";
9
import { printsMessage } from "../../verify.ts";
10
11
// If this test fails, it indicates that there is a version mismatch
12
// Check 'src\command\check\check.ts' for the recorded versions, and compare to 'configuration' file
13
testQuartoCmd(
14
"check",
15
["versions"],
16
[
17
printsMessage({
18
level: "INFO",
19
regex: "does not strictly match",
20
negate: true // Verify this message does NOT appear
21
})
22
],
23
undefined,
24
"check versions --strict should not show version mismatches"
25
);
26
27