Skip to content

Commit 1f3a3a0

Browse files
committed
progress
1 parent ed4db52 commit 1f3a3a0

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

crates/pgt_cli/tests/assert_cmd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const CONFIG_PATH: &str = "tests/fixtures/postgres-language-server.jsonc";
99

1010
#[test]
1111
#[cfg_attr(
12-
not(target_os = "linux"),
13-
ignore = "snapshot expectations only validated on Linux"
12+
target_os = "windows",
13+
ignore = "snapshot expectations only validated on unix-like platforms"
1414
)]
1515
fn test_cli_check_command() {
1616
let output = Command::cargo_bin(BIN)

crates/pgt_cli/tests/commands/check.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,17 @@ fn normalize_output(status: ExitStatus, stdout: &str, stderr: &str) -> String {
8383

8484
#[test]
8585
#[cfg_attr(
86-
not(target_os = "linux"),
87-
ignore = "snapshot expectations only validated on Linux"
86+
target_os = "windows",
87+
ignore = "snapshot expectations only validated on unix-like platforms"
8888
)]
8989
fn check_default_reporter_snapshot() {
9090
assert_snapshot!(run_check(&["tests/fixtures/test.sql"]));
9191
}
9292

9393
#[test]
9494
#[cfg_attr(
95-
not(target_os = "linux"),
96-
ignore = "snapshot expectations only validated on Linux"
95+
target_os = "windows",
96+
ignore = "snapshot expectations only validated on unix-like platforms"
9797
)]
9898
fn check_github_reporter_snapshot() {
9999
assert_snapshot!(run_check(&[
@@ -105,8 +105,8 @@ fn check_github_reporter_snapshot() {
105105

106106
#[test]
107107
#[cfg_attr(
108-
not(target_os = "linux"),
109-
ignore = "snapshot expectations only validated on Linux"
108+
target_os = "windows",
109+
ignore = "snapshot expectations only validated on unix-like platforms"
110110
)]
111111
fn check_gitlab_reporter_snapshot() {
112112
assert_snapshot!(run_check(&[
@@ -118,8 +118,8 @@ fn check_gitlab_reporter_snapshot() {
118118

119119
#[test]
120120
#[cfg_attr(
121-
not(target_os = "linux"),
122-
ignore = "snapshot expectations only validated on Linux"
121+
target_os = "windows",
122+
ignore = "snapshot expectations only validated on unix-like platforms"
123123
)]
124124
fn check_junit_reporter_snapshot() {
125125
assert_snapshot!(run_check(&[
@@ -131,8 +131,8 @@ fn check_junit_reporter_snapshot() {
131131

132132
#[test]
133133
#[cfg_attr(
134-
not(target_os = "linux"),
135-
ignore = "snapshot expectations only validated on Linux"
134+
target_os = "windows",
135+
ignore = "snapshot expectations only validated on unix-like platforms"
136136
)]
137137
fn check_stdin_snapshot() {
138138
assert_snapshot!(run_check_with(
@@ -150,8 +150,8 @@ fn check_stdin_snapshot() {
150150

151151
#[test]
152152
#[cfg_attr(
153-
not(target_os = "linux"),
154-
ignore = "snapshot expectations only validated on Linux"
153+
target_os = "windows",
154+
ignore = "snapshot expectations only validated on unix-like platforms"
155155
)]
156156
fn check_directory_traversal_snapshot() {
157157
let project_dir = Path::new("tests/fixtures/traversal");

0 commit comments

Comments
 (0)