Skip to content

Commit

Permalink
Chore(test/fixts): Unify source file redaction
Browse files Browse the repository at this point in the history
Same: consistency and stability.
Signed-off-by: Paul Mabileau <[email protected]>
  • Loading branch information
PaulDance committed Jun 5, 2024
1 parent 9b3bb7e commit 18ca6c2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/fixtures/import/validate_import_force_err.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Error:
0: Configuration file already exists, use -f/--force to overwrite.

Location:
src/main.rs:[..]
src/[..].rs:[..]

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
2 changes: 1 addition & 1 deletion tests/fixtures/import/validate_import_nofile_iserr.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Error:
2: No such file or directory (os error 2)

Location:
src/config/cargo_crates_toml.rs:[..]
src/[..].rs:[..]

Note: This can happen for many reasons.
Suggestion: Check if the file exists and has the correct permissions.
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/ship/validate_ship_install_failfast.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Error:
2: Cargo process finished unsuccessfully: exit status: 101

Location:
src/cargo.rs:[..]
src/[..].rs:[..]

Note: This can happen for many reasons.
Suggestion: Read Cargo's output.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Error:
2: Cargo process finished unsuccessfully: exit status: 101

Location:
src/cargo.rs:[..]
src/[..].rs:[..]

Note: This can happen for many reasons.
Suggestion: Read Cargo's output.
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/ship/validate_ship_noconfig_iserr.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Error:
2: No such file or directory (os error 2)

Location:
src/config/user_config.rs:[..]
src/[..].rs:[..]

Note: This can happen for many reasons.
Suggestion: Check if the file exists and has the correct permissions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Error:
2: No such file or directory (os error 2)

Location:
src/config/cargo_crates_toml.rs:[..]
src/[..].rs:[..]

Note: This can happen for many reasons.
Suggestion: Check if the file exists and has the correct permissions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Error:
2: Cargo process finished unsuccessfully: exit status: 101

Location:
src/cargo.rs:[..]
src/[..].rs:[..]

Note: This can happen for many reasons.
Suggestion: Read Cargo's output.
Expand Down

0 comments on commit 18ca6c2

Please sign in to comment.