Skip to content

Commit

Permalink
Account for canary versions in integration test for run summary (#4413)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulkar authored Mar 31, 2023
1 parent a5427a7 commit 29c71c6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cli/integration_tests/basic_monorepo/dry_run_json.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Setup

# test with a regex that captures what release we usually have (1.x.y or 1.a.b-canary.c)
$ cat tmpjson.log | jq .turboVersion
"\d\.\d\.\d(-canary\.\d)?" (re)
"[a-z0-9\.-]+" (re)

$ cat tmpjson.log | jq .globalHashSummary
{
Expand Down
2 changes: 1 addition & 1 deletion cli/integration_tests/single_package/dry-run.t
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Check
{
"id": "[a-zA-Z0-9]+", (re)
"version": "0",
"turboVersion": "[0-9\.]+", (re)
"turboVersion": "[a-z0-9\.-]+", (re)
"globalHashSummary": {
"globalFileHashMap": {
"package-lock.json": "8db0df575e6509336a6719094b63eb23d2c649c1",
Expand Down
2 changes: 1 addition & 1 deletion cli/integration_tests/single_package_deps/dry-run.t
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Check
{
"id": "[a-zA-Z0-9]+", (re)
"version": "0",
"turboVersion": "[0-9\.]+", (re)
"turboVersion": "[a-z0-9\.-]+", (re)
"globalHashSummary": {
"globalFileHashMap": {
"package-lock.json": "8db0df575e6509336a6719094b63eb23d2c649c1",
Expand Down
2 changes: 1 addition & 1 deletion cli/integration_tests/single_package_no_config/dry-run.t
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Check
{
"id": "[a-zA-Z0-9]+", (re)
"version": "0",
"turboVersion": "[0-9\.]+", (re)
"turboVersion": "[a-z0-9\.-]+", (re)
"globalHashSummary": {
"globalFileHashMap": {
"package-lock.json": "8db0df575e6509336a6719094b63eb23d2c649c1",
Expand Down

0 comments on commit 29c71c6

Please sign in to comment.