Skip to content

Commit ac453f1

Browse files
committed
test: Remove empty snapshots for UI tests
1 parent 2e878a4 commit ac453f1

File tree

442 files changed

+441
-222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

442 files changed

+441
-222
lines changed

tests/testsuite/cargo_add/add_basic/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ use cargo_test_support::compare::assert_ui;
22
use cargo_test_support::current_dir;
33
use cargo_test_support::file;
44
use cargo_test_support::prelude::*;
5+
use cargo_test_support::str;
56
use cargo_test_support::Project;
67

78
#[cargo_test]
@@ -29,7 +30,7 @@ fn case() {
2930
.current_dir(cwd)
3031
.assert()
3132
.success()
32-
.stdout_matches(file!["stdout.log"])
33+
.stdout_matches(str![""])
3334
.stderr_matches(file!["stderr.log"]);
3435

3536
assert_ui().subset_matches(current_dir!().join("out"), &project_root);

tests/testsuite/cargo_add/add_basic/stdout.log

Whitespace-only changes.

tests/testsuite/cargo_add/add_multiple/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ use cargo_test_support::compare::assert_ui;
22
use cargo_test_support::current_dir;
33
use cargo_test_support::file;
44
use cargo_test_support::prelude::*;
5+
use cargo_test_support::str;
56
use cargo_test_support::Project;
67

78
#[cargo_test]
@@ -31,7 +32,7 @@ fn case() {
3132
.current_dir(cwd)
3233
.assert()
3334
.success()
34-
.stdout_matches(file!["stdout.log"])
35+
.stdout_matches(str![""])
3536
.stderr_matches(file!["stderr.log"]);
3637

3738
assert_ui().subset_matches(current_dir!().join("out"), &project_root);

tests/testsuite/cargo_add/add_multiple/stdout.log

Whitespace-only changes.

tests/testsuite/cargo_add/add_normalized_name_external/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ use cargo_test_support::compare::assert_ui;
22
use cargo_test_support::current_dir;
33
use cargo_test_support::file;
44
use cargo_test_support::prelude::*;
5+
use cargo_test_support::str;
56
use cargo_test_support::Project;
67

78
#[cargo_test]
@@ -34,7 +35,7 @@ fn case() {
3435
.current_dir(cwd)
3536
.assert()
3637
.success()
37-
.stdout_matches(file!["stdout.log"])
38+
.stdout_matches(str![""])
3839
.stderr_matches(file!["stderr.log"]);
3940

4041
assert_ui().subset_matches(current_dir!().join("out"), &project_root);

tests/testsuite/cargo_add/add_normalized_name_external/stdout.log

Whitespace-only changes.

tests/testsuite/cargo_add/add_toolchain/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ use cargo_test_support::compare::assert_ui;
22
use cargo_test_support::current_dir;
33
use cargo_test_support::file;
44
use cargo_test_support::prelude::*;
5+
use cargo_test_support::str;
56
use cargo_test_support::Project;
67

78
#[cargo_test]
@@ -16,7 +17,7 @@ fn case() {
1617
.current_dir(cwd)
1718
.assert()
1819
.failure()
19-
.stdout_matches(file!["stdout.log"])
20+
.stdout_matches(str![""])
2021
.stderr_matches(file!["stderr.log"]);
2122

2223
assert_ui().subset_matches(current_dir!().join("out"), &project_root);

tests/testsuite/cargo_add/add_toolchain/stdout.log

Whitespace-only changes.

tests/testsuite/cargo_add/build/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ use cargo_test_support::compare::assert_ui;
22
use cargo_test_support::current_dir;
33
use cargo_test_support::file;
44
use cargo_test_support::prelude::*;
5+
use cargo_test_support::str;
56
use cargo_test_support::Project;
67

78
#[cargo_test]
@@ -31,7 +32,7 @@ fn case() {
3132
.current_dir(cwd)
3233
.assert()
3334
.success()
34-
.stdout_matches(file!["stdout.log"])
35+
.stdout_matches(str![""])
3536
.stderr_matches(file!["stderr.log"]);
3637

3738
assert_ui().subset_matches(current_dir!().join("out"), &project_root);

tests/testsuite/cargo_add/build/stdout.log

Whitespace-only changes.

0 commit comments

Comments
 (0)