Skip to content

Commit

Permalink
Update UI tests
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed Feb 16, 2024
1 parent 02c82a1 commit 464ab80
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions tests/integration/sdk/transpose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ cases:
- cmd: transpose dependency lift-to-workspace log --version-resolver latest
stderr: |
[WARN] Unstable feature - do not rely on this!
Held back modifications to 200 files; re-run with --fix to apply.
Held back modifications to 200 files. Re-run with --fix to apply.
Error: ()
code: 1
- cmd: transpose dependency lift-to-workspace log --version-resolver exact
Expand All @@ -72,13 +72,13 @@ cases:
- cmd: transpose dependency lift-to-workspace log --version-resolver exact --exact-version 0.4.20
stderr: |
[WARN] Unstable feature - do not rely on this!
Held back modifications to 200 files; re-run with --fix to apply.
Held back modifications to 200 files. Re-run with --fix to apply.
Error: ()
code: 1
- cmd: zepter transpose dependency lift-to-workspace macro_magic
stderr: |
[WARN] Unstable feature - do not rely on this!
Held back modifications to 3 files; re-run with --fix to apply.
Held back modifications to 3 files. Re-run with --fix to apply.
Error: ()
code: 1
- cmd: zepter transpose dependency lift-to-workspace tt-call --version-resolver latest --fix
Expand Down
10 changes: 5 additions & 5 deletions tests/ui/config/v1/basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ crates:
cases:
- cmd: run default
stdout: |
zepter 1.1.2
zepter 1.2.0
stderr: |
[INFO] Running workflow 'default'
[INFO] 1/1 --version
- cmd: run
stdout: |
zepter 1.1.2
zepter 1.2.0
stderr: |
[INFO] Running workflow 'default'
[INFO] 1/1 --version
- cmd: ''
stdout: |
zepter 1.1.2
zepter 1.2.0
stderr: |
[INFO] Running workflow 'default'
[INFO] 1/1 --version
- cmd: run my_version
stdout: |
zepter 1.1.2
zepter 1.2.0
stderr: |
[INFO] Running workflow 'my_version'
[INFO] 1/1 --version
Expand All @@ -36,7 +36,7 @@ cases:
[INFO] 1/1 debug --no-benchmark
- cmd: run both
stdout: |
zepter 1.1.2
zepter 1.2.0
Num workspace members: 1
Num dependencies: 1
DAG nodes: 0, links: 0
Expand Down
16 changes: 8 additions & 8 deletions tests/ui/config/v1/finds_all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ crates:
cases:
- cmd: ''
stdout: |
zepter 1.1.2
zepter 1.2.0
stderr: |
[INFO] Running workflow 'default'
[INFO] 1/1 --version
Expand All @@ -19,7 +19,7 @@ cases:
- [ '--version' ]
- cmd: ''
stdout: |
zepter 1.1.2
zepter 1.2.0
stderr: |
[INFO] Running workflow 'default'
[INFO] 1/1 --version
Expand All @@ -35,7 +35,7 @@ cases:
- [ '--version' ]
- cmd: ''
stdout: |
zepter 1.1.2
zepter 1.2.0
stderr: |
[INFO] Running workflow 'default'
[INFO] 1/1 --version
Expand All @@ -51,7 +51,7 @@ cases:
- [ '--version' ]
- cmd: run default
stdout: |
zepter 1.1.2
zepter 1.2.0
stderr: |
[INFO] Running workflow 'default'
[INFO] 1/1 --version
Expand All @@ -67,7 +67,7 @@ cases:
- [ '--version' ]
- cmd: run default
stdout: |
zepter 1.1.2
zepter 1.2.0
stderr: |
[INFO] Running workflow 'default'
[INFO] 1/1 --version
Expand All @@ -83,7 +83,7 @@ cases:
- [ '--version' ]
- cmd: run default
stdout: |
zepter 1.1.2
zepter 1.2.0
stderr: |
[INFO] Running workflow 'default'
[INFO] 1/1 --version
Expand All @@ -99,7 +99,7 @@ cases:
- [ '--version' ]
- cmd: run default --config .cargo/polkadot.yaml
stdout: |
zepter 1.1.2
zepter 1.2.0
stderr: |
[INFO] Running workflow 'default'
[INFO] 1/1 --version
Expand All @@ -115,7 +115,7 @@ cases:
- [ '--version' ]
- cmd: run default -c .cargo/polkadot.yaml
stdout: |
zepter 1.1.2
zepter 1.2.0
stderr: |
[INFO] Running workflow 'default'
[INFO] 1/1 --version
Expand Down
4 changes: 2 additions & 2 deletions tests/ui/config/v1/version_bin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cases:
- cmd: run default
stderr: |
thread 'main' panicked at src/cmd/run.rs:27:46:
Invalid config file: "Config file version is too new. The file requires at least version 2.0.0, but the current version is 1.1.2. Please update Zepter or ignore this check with `--check-cfg-compatibility=off`."
Invalid config file: "Config file version is too new. The file requires at least version 2.0.0, but the current version is 1.2.0. Please update Zepter or ignore this check with `--check-cfg-compatibility=off`."
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
code: 101
- cmd: run default --check-cfg-compatibility=off
Expand All @@ -13,7 +13,7 @@ cases:
stderr: |
[INFO] Running workflow 'default'
thread 'main' panicked at src/cmd/run.rs:27:46:
Invalid config file: "Config file version is too new. The file requires at least version 2.0.0, but the current version is 1.1.2. Please update Zepter or ignore this check with `--check-cfg-compatibility=off`."
Invalid config file: "Config file version is too new. The file requires at least version 2.0.0, but the current version is 1.2.0. Please update Zepter or ignore this check with `--check-cfg-compatibility=off`."
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
code: 1
configs:
Expand Down
4 changes: 2 additions & 2 deletions tests/ui/root-args/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ crates: []
cases:
- cmd: --version
stdout: |
zepter 1.1.2
zepter 1.2.0
- cmd: -V
stdout: |
zepter 1.1.2
zepter 1.2.0

0 comments on commit 464ab80

Please sign in to comment.