File: invalid_ignore_attr.rs

package info (click to toggle)
rust-test-casing 0.1.3-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 300 kB
  • sloc: makefile: 2
file content (15 lines) | stat: -rw-r--r-- 281 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use test_casing::test_casing;

#[test_casing(2, ["test", "this"])]
#[ignore(_arg > 1)]
fn tested_function(_arg: &str) {
    // Does nothing
}

#[test_casing(2, ["test", "this"])]
#[ignore(message = "???")]
fn other_tested_function(_arg: &str) {
    // Does nothing
}

fn main() {}