Skip to content

Commit b8ff2c6

Browse files
committed
test: audit singleton tests across directories
1 parent cc47162 commit b8ff2c6

15 files changed

Lines changed: 15 additions & 15 deletions

tests/ui/codemap_tests/utf8-bom.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file has utf-8 BOM, it should be compiled normally without error.
2-
//@ run-pass
2+
//@ check-pass
33
//@ reference: input.byte-order-mark
44

55
pub fn main() {}

tests/ui/deprecation/deprecated_main_function.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22
//@ compile-flags:-Zforce-unstable-if-unmarked
33

44
#[deprecated] // should work even with -Zforce-unstable-if-unmarked

tests/ui/drop/drop-on-ret.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22

33

44

tests/ui/function-pointer/function-pointer-comparison-54696.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// https://github.com/rust-lang/rust/issues/54696
2-
//@ run-pass
2+
//@ check-pass
33

44
#![allow(unpredictable_function_pointer_comparisons)]
55

tests/ui/inference/collection-type-copy-behavior-12909.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// https://github.com/rust-lang/rust/issues/12909
2-
//@ run-pass
2+
//@ check-pass
33
#![allow(unused_variables)]
44

55
use std::collections::HashMap;

tests/ui/ptr_ops/ptr-swap-overlapping-regions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//!
44
//! Regression test: <https://github.com/rust-lang/rust/issues/5041>
55
6-
//@ run-pass
6+
//@ build-pass
77

88
#![allow(dead_code)]
99

tests/ui/repr/packed-struct-with-enum-53728.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// https://github.com/rust-lang/rust/issues/53728
2-
//@ run-pass
2+
//@ check-pass
33

44
#![allow(dead_code)]
55
#[repr(u16)]

tests/ui/rust-2018/uniform-paths/redundant.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22
//@ edition:2018
33

44
use std;

tests/ui/shadowed/use-shadows-reexport.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Check that a local `use` declaration can shadow a re-exported item within the same module.
22
3-
//@ run-pass
3+
//@ check-pass
44

55
#![allow(unused_imports)]
66
mod foo {

tests/ui/span/unused-warning-point-at-identifier.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22

33
#![warn(unused)]
44

0 commit comments

Comments
 (0)