Skip to content

Commit

Permalink
tests: Rename unix_sigpipe.rs to unix_sigpipe-bare.rs for clarity
Browse files Browse the repository at this point in the history
The test is for the "bare" variant of the attribute that looks like this:

    #[unix_sigpipe]

which is not allowed, because it must look like this:

    #[unix_sigpipe = "sig_ign"]
  • Loading branch information
Enselic committed Feb 23, 2024
1 parent e060274 commit a1cb3db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: valid values for `#[unix_sigpipe = "..."]` are `inherit`, `sig_ign`, or `sig_dfl`
--> $DIR/unix_sigpipe.rs:3:1
--> $DIR/unix_sigpipe-bare.rs:3:1
|
LL | #[unix_sigpipe]
| ^^^^^^^^^^^^^^^
Expand Down

0 comments on commit a1cb3db

Please sign in to comment.