More cases of [cfg(test)] instead of [test].
This commit is contained in:
parent
46c2b5b045
commit
a636f5160a
@ -673,7 +673,7 @@ pub fn write_repr<T>(writer: @Writer, object: &T) {
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(test)]
|
||||
struct P {a: int, b: float}
|
||||
|
||||
#[test]
|
||||
|
@ -353,7 +353,7 @@ mod tests {
|
||||
assert!(*deq.get(3) == d);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(test)]
|
||||
fn test_parameterized<T:Copy + Eq + Durable>(a: T, b: T, c: T, d: T) {
|
||||
let mut deq = Deque::new();
|
||||
assert!(deq.len() == 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user